mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
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:
parent
8596e8d5da
commit
2a18cf41a8
2 changed files with 2 additions and 1 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 6bb695159bf15fe64d31b26dd2a07d1ba2bb7f1d
|
Subproject commit 4f962f78357a11e545510d48227f41af24bfaab7
|
|
@ -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
|
* src caps are based on sink caps so it will end up in there
|
||||||
* whether sucessful or not */
|
* whether sucessful or not */
|
||||||
gst_mpegv_parse_process_config (mpvparse, buf, gst_buffer_get_size (buf));
|
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 */
|
/* let's not interfere and accept regardless of config parsing success */
|
||||||
|
|
Loading…
Reference in a new issue