diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2005-03-04 10:16:10 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2005-03-04 10:16:10 +0000 |
commit | 3a4d09d9e5f535634ba2503fbe1da45c39110ce0 (patch) | |
tree | d53cd96cabd5d0cf4db6081393daf58ea6496032 /gst-libs/gst/video/gstvideosink.c | |
parent | e1975c599cfbe5f23e4bd602591e95838afb3c8c (diff) | |
download | gstreamer-plugins-bad-BRANCH-THREADED.tar.gz |
More work on subclassing the sinks from the basesink.BRANCH-THREADED
Original commit message from CVS:
More work on subclassing the sinks from the basesink.
First attempt at generic audiosink base objects.
Make oss DMA audiosink.
Diffstat (limited to 'gst-libs/gst/video/gstvideosink.c')
-rw-r--r-- | gst-libs/gst/video/gstvideosink.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/gst-libs/gst/video/gstvideosink.c b/gst-libs/gst/video/gstvideosink.c index 1085ace95..2d06b3157 100644 --- a/gst-libs/gst/video/gstvideosink.c +++ b/gst-libs/gst/video/gstvideosink.c @@ -27,17 +27,6 @@ static GstElementClass *parent_class = NULL; -/* Private methods */ - -static void -gst_videosink_set_clock (GstElement * element, GstClock * clock) -{ - GstVideoSink *videosink; - - videosink = GST_VIDEOSINK (element); - - videosink->clock = clock; -} /* Initing stuff */ @@ -46,7 +35,6 @@ gst_videosink_init (GstVideoSink * videosink) { videosink->width = 0; videosink->height = 0; - videosink->clock = NULL; } static void @@ -59,8 +47,6 @@ gst_videosink_class_init (GstVideoSinkClass * klass) gstelement_class = (GstElementClass *) klass; parent_class = g_type_class_ref (GST_TYPE_ELEMENT); - - gstelement_class->set_clock = gst_videosink_set_clock; } /* Public methods */ @@ -83,7 +69,7 @@ gst_videosink_get_type (void) (GInstanceInitFunc) gst_videosink_init, }; - videosink_type = g_type_register_static (GST_TYPE_ELEMENT, + videosink_type = g_type_register_static (GST_TYPE_BASESINK, "GstVideoSink", &videosink_info, 0); } |