mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
videoparsers: avoid repeated caps setting
This commit is contained in:
parent
28f3858b94
commit
09209045b6
1 changed files with 2 additions and 0 deletions
|
@ -727,6 +727,8 @@ gst_mpegv_parse_update_src_caps (GstMpegvParse * mpvparse)
|
|||
|
||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (mpvparse), caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
mpvparse->update_caps = FALSE;
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
|
Loading…
Reference in a new issue