From ee7207aa3e2795a12aa601429ff3fc2010015da4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 11 Oct 2010 15:12:00 +0200 Subject: [PATCH] rtspsrc: mark as a source Mark the rtspsrc element as a source. Requires 0.10.31.1 now --- gst/rtsp/gstrtspsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 52ec272..9afa3c7 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -5214,6 +5214,7 @@ gst_rtspsrc_open_from_sdp (GstRTSPSrc * src, GstSDPMessage * sdp) } src->state = GST_RTSP_STATE_INIT; + GST_OBJECT_FLAG_SET (src, GST_ELEMENT_IS_SOURCE); /* setup streams */ if (!gst_rtspsrc_setup_streams (src)) -- 2.7.4