videoparsers: avoid repeated caps setting
This commit is contained in:
parent
28f3858b94
commit
09209045b6
@ -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…
x
Reference in New Issue
Block a user