inter*src: No need to set caps manually on the pad

basesrc does that for us already.
This commit is contained in:
Sebastian Dröge 2014-11-03 16:24:33 +01:00
parent 9f09b6ff0b
commit 85f66e3531
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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