summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-09-28 13:38:02 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-09-28 13:38:02 +0000
commit240fc75fba9b6039de6a7602689508f6bf70da1e (patch)
treeb25955c05baa793fc85af3cdfaaf786b81722d74
parente35bfb42fce984aa5ed2c96c23001d7c50c6535d (diff)
gst/qtdemux/qtdemux.c: No need to take stream lock here.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): No need to take stream lock here.
-rw-r--r--gst/qtdemux/qtdemux.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index d31505b3..529c828f 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -506,11 +506,6 @@ gst_qtdemux_loop_header (GstPad * pad)
int size;
GstFlowReturn ret;
- /* FIXME _tell gets the offset wrong */
- //cur_offset = gst_bytestream_tell(qtdemux->bs);
-
- GST_STREAM_LOCK (pad);
-
cur_offset = qtdemux->offset;
GST_DEBUG ("loop at position %" G_GUINT64_FORMAT ", state %d",
cur_offset, qtdemux->state);
@@ -695,14 +690,12 @@ gst_qtdemux_loop_header (GstPad * pad)
g_error ("State=%d", qtdemux->state);
}
- GST_STREAM_UNLOCK (pad);
-
return;
pause:
GST_LOG_OBJECT (qtdemux, "pausing task");
gst_pad_pause_task (qtdemux->sinkpad);
- GST_STREAM_UNLOCK (pad);
+ return;
}
static gboolean