diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index 36c9e02b6b..552339319d 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -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 diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index f5c3e02984..3bad3b672f 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -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