diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2013-12-10 15:41:00 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@sisa.samsung.com> | 2013-12-18 18:52:18 -0300 |
commit | e847bea1e1e2d7d68ee2830861201f5957ede7ee (patch) | |
tree | 2209d32c91713639fbedc690e505bf6371aa8864 /ext/smoothstreaming/gstmssdemux.h | |
parent | 2ce4f6a8e4c8aa33d08d9f5fe28a83779fadf03f (diff) | |
download | gstreamer-plugins-bad-e847bea1e1e2d7d68ee2830861201f5957ede7ee.tar.gz |
mssdemux: remove stream locks
Simplify the locking by using a single lock instead of having one
lock per stream. This still works and is simpler to maintain.
Diffstat (limited to 'ext/smoothstreaming/gstmssdemux.h')
-rw-r--r-- | ext/smoothstreaming/gstmssdemux.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/smoothstreaming/gstmssdemux.h b/ext/smoothstreaming/gstmssdemux.h index d651b8050..9a7249e5e 100644 --- a/ext/smoothstreaming/gstmssdemux.h +++ b/ext/smoothstreaming/gstmssdemux.h @@ -52,14 +52,9 @@ typedef struct _GstMssDemuxStream GstMssDemuxStream; typedef struct _GstMssDemux GstMssDemux; typedef struct _GstMssDemuxClass GstMssDemuxClass; -#define GST_MSS_DEMUX_STREAM_LOCK(s) g_mutex_lock (&(s)->mutex) -#define GST_MSS_DEMUX_STREAM_UNLOCK(s) g_mutex_unlock (&(s)->mutex) - struct _GstMssDemuxStream { GstPad *pad; - GMutex mutex; - GstCaps *caps; GstMssDemux *parent; |