diff options
author | Edward Hervey <edward@collabora.com> | 2013-07-23 10:10:13 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-07-23 18:16:32 +0200 |
commit | 06717150bfc39d89f7b298fcb0596fc5427a753f (patch) | |
tree | 5bc3673acbada32ed5c50da0fa408951d102b704 | |
parent | 069a497d198991dec2737d3c1b4188eab84304c2 (diff) | |
download | gstreamer-plugins-bad-06717150bfc39d89f7b298fcb0596fc5427a753f.tar.gz |
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
-rw-r--r-- | gst/videoparsers/gstmpegvideoparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c index 683479b97..2293f8144 100644 --- a/gst/videoparsers/gstmpegvideoparse.c +++ b/gst/videoparsers/gstmpegvideoparse.c @@ -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); |