diff options
author | Michael Smith <msmith@rdio.com> | 2012-10-09 21:19:15 -0700 |
---|---|---|
committer | Michael Smith <msmith@rdio.com> | 2012-10-09 21:19:15 -0700 |
commit | 2a18cf41a817832db7997b42fca07820579f7ae3 (patch) | |
tree | ee1812433a9c76d4c83f726f58077cebf8b4ed7e /gst | |
parent | 8596e8d5daeb49e438c9e1be838f205bf8f227b7 (diff) | |
download | gstreamer-plugins-bad-2a18cf41a817832db7997b42fca07820579f7ae3.tar.gz |
mpegvideoparse: reset frame parser after parsing codec_data buffer in caps, to
avoid not correctly parsing the full first frame.
Diffstat (limited to 'gst')
-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 f455f8f82..0bcf057c9 100644 --- a/gst/videoparsers/gstmpegvideoparse.c +++ b/gst/videoparsers/gstmpegvideoparse.c @@ -834,6 +834,7 @@ gst_mpegv_parse_set_caps (GstBaseParse * parse, GstCaps * caps) * src caps are based on sink caps so it will end up in there * whether sucessful or not */ gst_mpegv_parse_process_config (mpvparse, buf, gst_buffer_get_size (buf)); + gst_mpegv_parse_reset_frame (mpvparse); } /* let's not interfere and accept regardless of config parsing success */ |