Fix H262 segmentation.
Prepend sequence headers to the next frame, instead of appending them to the previous frame. Tested decoders like FFMPEG and Google's Android/MPEG2 expects to read the sequence headers before the first frame they apply to. When sequence headers are appended to the previous frame, these are ignored and this leads to incorrect decoding.
Showing
with
19 additions
and
15 deletions
Please
register
or
sign in
to comment