[farsight2/master] Don't lock printf uselessly

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:26:18 PST 2008


---
 transmitters/nice/fs-nice-stream-transmitter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 36759c1..59beece 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -951,9 +951,9 @@ fs_nice_stream_transmitter_gathering_done (FsNiceStreamTransmitter *self)
     return;
   }
   self->priv->gathered = TRUE;
+  FS_NICE_STREAM_TRANSMITTER_UNLOCK (self);
 
   GST_DEBUG ("Candidates gathered for stream %u", self->priv->stream_id);
-  FS_NICE_STREAM_TRANSMITTER_UNLOCK (self);
 
   for (c = 1; c <= self->priv->transmitter->components; c++)
   {
-- 
1.5.6.5




More information about the farsight-commits mailing list