mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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.
This commit is contained in:
parent
425c9dd2c4
commit
c578465405
2 changed files with 6 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-09-28 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
|
||||||
|
No need to take stream lock here.
|
||||||
|
|
||||||
2005-09-26 Christian Schaller <uraeus@gnome.org>
|
2005-09-26 Christian Schaller <uraeus@gnome.org>
|
||||||
|
|
||||||
* configure.ac: add speed and rfb where needed
|
* configure.ac: add speed and rfb where needed
|
||||||
|
|
|
@ -506,11 +506,6 @@ gst_qtdemux_loop_header (GstPad * pad)
|
||||||
int size;
|
int size;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
|
|
||||||
/* FIXME _tell gets the offset wrong */
|
|
||||||
//cur_offset = gst_bytestream_tell(qtdemux->bs);
|
|
||||||
|
|
||||||
GST_STREAM_LOCK (pad);
|
|
||||||
|
|
||||||
cur_offset = qtdemux->offset;
|
cur_offset = qtdemux->offset;
|
||||||
GST_DEBUG ("loop at position %" G_GUINT64_FORMAT ", state %d",
|
GST_DEBUG ("loop at position %" G_GUINT64_FORMAT ", state %d",
|
||||||
cur_offset, qtdemux->state);
|
cur_offset, qtdemux->state);
|
||||||
|
@ -695,14 +690,12 @@ gst_qtdemux_loop_header (GstPad * pad)
|
||||||
g_error ("State=%d", qtdemux->state);
|
g_error ("State=%d", qtdemux->state);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_STREAM_UNLOCK (pad);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pause:
|
pause:
|
||||||
GST_LOG_OBJECT (qtdemux, "pausing task");
|
GST_LOG_OBJECT (qtdemux, "pausing task");
|
||||||
gst_pad_pause_task (qtdemux->sinkpad);
|
gst_pad_pause_task (qtdemux->sinkpad);
|
||||||
GST_STREAM_UNLOCK (pad);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue