mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
off1 = gst_byte_reader_masked_scan_uint32 (&br, 0xffffff00, 0x00000100,
|
||||
|
|
Loading…
Reference in a new issue