mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
mpeg4videoparse: reset frame parser after parsing caps codec data
... so as to arrange for a proper fresh state upon first frame.
This commit is contained in:
parent
4eaf72febd
commit
a17b1f4c91
1 changed files with 1 additions and 0 deletions
|
@ -828,6 +828,7 @@ gst_mpeg4vparse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||
/* And take it as config */
|
||||
gst_mpeg4vparse_process_config (mp4vparse, data, 3, size);
|
||||
gst_buffer_unmap (buf, &map);
|
||||
gst_mpeg4vparse_reset_frame (mp4vparse);
|
||||
}
|
||||
|
||||
/* let's not interfere and accept regardless of config parsing success */
|
||||
|
|
Loading…
Reference in a new issue