summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-08-16 17:11:48 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-08-16 17:11:48 +0000
commit1df9f40304a2b03667dd88fe3b41d75204986335 (patch)
treecfcf5263f3664edb2fb959257156cf985d0c8523 /gst-libs/gst
parent6c781b9ca39a833912c4d1043922cd3430cfc9ec (diff)
downloadgst-plugins-bad-1df9f40304a2b03667dd88fe3b41d75204986335.tar.gz
gst-plugins-bad-1df9f40304a2b03667dd88fe3b41d75204986335.tar.bz2
gst-plugins-bad-1df9f40304a2b03667dd88fe3b41d75204986335.zip
gst-libs/gst/app/gstappsink.c: Override the preroll vmethod instead of overriding the render method twice.
Original commit message from CVS: * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init): Override the preroll vmethod instead of overriding the render method twice.
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/app/gstappsink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/app/gstappsink.c b/gst-libs/gst/app/gstappsink.c
index ee8c9190..b4c65af8 100644
--- a/gst-libs/gst/app/gstappsink.c
+++ b/gst-libs/gst/app/gstappsink.c
@@ -91,7 +91,7 @@ gst_app_sink_class_init (GstAppSinkClass * klass)
basesink_class->start = gst_app_sink_start;
basesink_class->stop = gst_app_sink_stop;
basesink_class->event = gst_app_sink_event;
- basesink_class->render = gst_app_sink_preroll;
+ basesink_class->preroll = gst_app_sink_preroll;
basesink_class->render = gst_app_sink_render;
basesink_class->get_caps = gst_app_sink_get_caps;
}