diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-06-16 13:00:30 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-06-16 13:05:07 +0200 |
commit | bd9cd476339aa0f873e5b59a7a1c3c2e9e3f8b8f (patch) | |
tree | 9578d4934316a0f8d8e6fe364bafd38dc86f66f7 /plugins | |
parent | 5d44b1a3814bc9f7804d03a23d84fcf6b65f623a (diff) |
fdsink: make sync property work correctly
Don't override the default get_times vmethod so that we can use the sync
property.
Set the default sync property to FALSE. It used to be set to TRUE but because
the get_times was NULL, it always behaved like FALSE.
Fixes #621530
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elements/gstfdsink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/elements/gstfdsink.c b/plugins/elements/gstfdsink.c index 06dc379199..ad4a29bf89 100644 --- a/plugins/elements/gstfdsink.c +++ b/plugins/elements/gstfdsink.c @@ -155,7 +155,6 @@ gst_fd_sink_class_init (GstFdSinkClass * klass) gobject_class->get_property = gst_fd_sink_get_property; gobject_class->dispose = gst_fd_sink_dispose; - gstbasesink_class->get_times = NULL; gstbasesink_class->render = GST_DEBUG_FUNCPTR (gst_fd_sink_render); gstbasesink_class->start = GST_DEBUG_FUNCPTR (gst_fd_sink_start); gstbasesink_class->stop = GST_DEBUG_FUNCPTR (gst_fd_sink_stop); @@ -181,7 +180,7 @@ gst_fd_sink_init (GstFdSink * fdsink, GstFdSinkClass * klass) fdsink->bytes_written = 0; fdsink->current_pos = 0; - GST_BASE_SINK (fdsink)->sync = TRUE; + gst_base_sink_set_sync (GST_BASE_SINK (fdsink), FALSE); } static void |