[farsight2/master] Make clear that the codec in the substream is also protected by the mutex

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


---
 gst/fsrtpconference/fs-rtp-substream.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index 9601b27..2c336ef 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -60,12 +60,11 @@ struct _FsRtpSubStreamPrivate {
    * otherwise the rtpbin_pad is blocked */
   /* Protected by the mutex */
   GstElement *codecbin;
+  FsCodec *codec;
 
   /* This is only created when the substream is associated with a FsRtpStream */
   GstPad *output_ghostpad;
 
-  FsCodec *codec;
-
   GMutex *mutex;
 
   GError *construction_error;
-- 
1.5.6.5




More information about the farsight-commits mailing list