summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.h
diff options
context:
space:
mode:
authorLutz Mueller <lutz@topfrose.de>2006-09-18 10:42:52 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-09-18 10:42:52 +0000
commitafd156ad0c89104040306ee4135d4ccd2190f3f7 (patch)
tree3e41339ea2da2f4245ba7069dc295f089c6fc375 /gst/rtsp/gstrtspsrc.h
parent7484c92dfeb05c4bd1f5b0c8dac1ca68e2f7950f (diff)
gst/rtsp/gstrtspsrc.*: Use boilerplate.
Original commit message from CVS: Based on patch by: Lutz Mueller <lutz at topfrose dot de> * 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.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h4
1 files changed, 2 insertions, 2 deletions
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);