mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
inter*src: No need to set caps manually on the pad
basesrc does that for us already.
This commit is contained in:
parent
9f09b6ff0b
commit
85f66e3531
2 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ gst_inter_audio_src_set_caps (GstBaseSrc * src, GstCaps * caps)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
return gst_pad_set_caps (src->srcpad, caps);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -242,7 +242,7 @@ gst_inter_video_src_set_caps (GstBaseSrc * base, GstCaps * caps)
|
|||
gst_video_frame_unmap (&dest_frame);
|
||||
intervideosrc->black_frame = dest;
|
||||
|
||||
return gst_pad_set_caps (GST_BASE_SRC_PAD (intervideosrc), caps);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue