mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
codecparsers: fix an issue in finding the last video packet in vop
This commit is contained in:
parent
164faafad6
commit
befc724e5a
1 changed files with 4 additions and 1 deletions
|
@ -444,8 +444,11 @@ gst_mpeg4_parse (GstMpeg4Packet * packet, gboolean skip_user_data,
|
||||||
if (resync_res == GST_MPEG4_PARSER_OK)
|
if (resync_res == GST_MPEG4_PARSER_OK)
|
||||||
return resync_res;
|
return resync_res;
|
||||||
|
|
||||||
else if (resync_res == GST_MPEG4_PARSER_OK)
|
else if (resync_res == GST_MPEG4_PARSER_NO_PACKET_END) {
|
||||||
|
/* It doesn't mean there is no standard packet end, look for it */
|
||||||
|
off1 = packet->offset;
|
||||||
goto find_end;
|
goto find_end;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
off1 = gst_byte_reader_masked_scan_uint32 (&br, 0xffffff00, 0x00000100,
|
off1 = gst_byte_reader_masked_scan_uint32 (&br, 0xffffff00, 0x00000100,
|
||||||
|
|
Loading…
Reference in a new issue