mpegvideoparse: reset frame parser after parsing codec_data buffer in caps, to

avoid not correctly parsing the full first frame.
This commit is contained in:
Michael Smith 2012-10-09 21:19:15 -07:00
parent 8596e8d5da
commit 2a18cf41a8
2 changed files with 2 additions and 1 deletions

2
common

@ -1 +1 @@
Subproject commit 6bb695159bf15fe64d31b26dd2a07d1ba2bb7f1d
Subproject commit 4f962f78357a11e545510d48227f41af24bfaab7

View file

@ -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 */