From 85f66e35319475fc100b0efa4350c449ac3668ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 3 Nov 2014 16:24:33 +0100 Subject: [PATCH] inter*src: No need to set caps manually on the pad basesrc does that for us already. --- gst/inter/gstinteraudiosrc.c | 2 +- gst/inter/gstintervideosrc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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