summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/gstvideosink.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-03-04 10:16:10 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-03-04 10:16:10 +0000
commit3a4d09d9e5f535634ba2503fbe1da45c39110ce0 (patch)
treed53cd96cabd5d0cf4db6081393daf58ea6496032 /gst-libs/gst/video/gstvideosink.c
parente1975c599cfbe5f23e4bd602591e95838afb3c8c (diff)
downloadgstreamer-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.c16
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);
}