From afd156ad0c89104040306ee4135d4ccd2190f3f7 Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Mon, 18 Sep 2006 10:42:52 +0000 Subject: gst/rtsp/gstrtspsrc.*: Use boilerplate. Original commit message from CVS: Based on patch by: Lutz Mueller * gst/rtsp/gstrtspsrc.c: (_do_init), (gst_rtspsrc_class_init), (gst_rtspsrc_init), (gst_rtspsrc_stream_setup_rtp), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_play), (gst_rtspsrc_change_state): * gst/rtsp/gstrtspsrc.h: Use boilerplate. Make rtspsrc subclass GstBin to make state changes easier. Add Range header field on the PLAY request. --- gst/rtsp/gstrtspsrc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/rtsp/gstrtspsrc.h') diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h index a2e9bd2d..a4df78bd 100644 --- a/gst/rtsp/gstrtspsrc.h +++ b/gst/rtsp/gstrtspsrc.h @@ -85,7 +85,7 @@ struct _GstRTSPStream { }; struct _GstRTSPSrc { - GstElement element; + GstBin parent; /* task and mutex for interleaved mode */ gboolean interleaved; @@ -109,7 +109,7 @@ struct _GstRTSPSrc { }; struct _GstRTSPSrcClass { - GstElementClass parent_class; + GstBinClass parent_class; }; GType gst_rtspsrc_get_type(void); -- cgit