mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
mpegvideoparse: Fix codec_data handling
Set to sequence_offset so that _process_config accepts it. (btw: seq_offset usage throughout this plugin is really dodgy) https://bugzilla.gnome.org/show_bug.cgi?id=702806
This commit is contained in:
parent
069a497d19
commit
06717150bf
1 changed files with 1 additions and 0 deletions
|
@ -971,6 +971,7 @@ gst_mpegv_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||
/* best possible parse attempt,
|
||||
* src caps are based on sink caps so it will end up in there
|
||||
* whether sucessful or not */
|
||||
mpvparse->seq_offset = 4;
|
||||
gst_mpegv_parse_process_config (mpvparse, &map, gst_buffer_get_size (buf));
|
||||
gst_buffer_unmap (buf, &map);
|
||||
gst_mpegv_parse_reset_frame (mpvparse);
|
||||
|
|
Loading…
Reference in a new issue