mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
mpeg4videoparse: Don't update caps on every buffer
This commit is contained in:
parent
c76890b7fa
commit
adb4b010ed
1 changed files with 2 additions and 0 deletions
|
@ -542,6 +542,8 @@ gst_mpeg4vparse_update_src_caps (GstMpeg4VParse * mp4vparse)
|
|||
|
||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (mp4vparse), caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
mp4vparse->update_caps = FALSE;
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
|
Loading…
Reference in a new issue