From 260b5295c98bdc8ed47ee8ac88588954ac61679a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 2 Feb 2006 18:18:31 +0000 Subject: [PATCH] gst-libs/gst/audio/gstbaseaudiosink.c: Ugh.. getting late I guess... Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_provide_clock): Ugh.. getting late I guess... --- ChangeLog | 6 ++++++ gst-libs/gst/audio/gstbaseaudiosink.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ff29c93e9b..adf57e50ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-02-02 Wim Taymans + + * gst-libs/gst/audio/gstbaseaudiosink.c: + (gst_base_audio_sink_provide_clock): + Ugh.. getting late I guess... + 2006-02-02 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/gst-libs/gst/audio/gstbaseaudiosink.c b/gst-libs/gst/audio/gstbaseaudiosink.c index d6cc5ee153..940b95490a 100644 --- a/gst-libs/gst/audio/gstbaseaudiosink.c +++ b/gst-libs/gst/audio/gstbaseaudiosink.c @@ -185,7 +185,7 @@ gst_base_audio_sink_provide_clock (GstElement * elem) goto wrong_state; GST_OBJECT_LOCK (sink); - if (sink->provide_clock) + if (!sink->provide_clock) goto clock_disabled; clock = GST_CLOCK_CAST (gst_object_ref (sink->provided_clock));