2005-05-25 Wim Taymans <wim@fluendo.com>
+ * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
+ (gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
+ (gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_bufferalloc),
+ (gst_ffmpegcsp_chain), (gst_ffmpegcsp_change_state):
+ No need to take the STREAM lock anymore.
+
+2005-05-25 Wim Taymans <wim@fluendo.com>
+
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose),
(gst_ogg_pad_typefind), (gst_ogg_pad_submit_packet),
(gst_ogg_chain_new_stream), (gst_ogg_demux_perform_seek),
space = GST_FFMPEGCSP (GST_PAD_PARENT (pad));
- GST_STREAM_LOCK (pad);
-
GST_DEBUG ("from %d -> to %d", space->from_pixfmt, space->to_pixfmt);
if (space->from_pixfmt == PIX_FMT_NB || space->to_pixfmt == PIX_FMT_NB)
goto unkown_format;
}
res = gst_pad_push (space->srcpad, outbuf);
- GST_STREAM_UNLOCK (pad);
return res;
/* ERRORS */
no_buffer:
{
- GST_STREAM_UNLOCK (pad);
gst_buffer_unref (buffer);
return GST_FLOW_ERROR;
}
unkown_format:
{
- GST_STREAM_UNLOCK (pad);
GST_ELEMENT_ERROR (space, CORE, NOT_IMPLEMENTED, (NULL),
("attempting to convert colorspaces between unknown formats"));
gst_buffer_unref (buffer);
switch (transition) {
case GST_STATE_PAUSED_TO_READY:
- GST_STREAM_LOCK (space->sinkpad);
if (space->palette)
av_free (space->palette);
space->palette = NULL;
- GST_STREAM_UNLOCK (space->sinkpad);
break;
default:
break;