Commit f675ce7c authored by Wim Taymans's avatar Wim Taymans

ext/ffmpeg/gstffmpegdemux.c: Post nice error message when we cannot activate in pull mode.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
Post nice error message when we cannot activate in pull mode.
parent 4aa57ea7
2006-02-17 Wim Taymans <wim@fluendo.com>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
Post nice error message when we cannot activate in pull mode.
2006-02-14 Edward Hervey <edward@fluendo.com>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
......
......@@ -978,9 +978,13 @@ gst_ffmpegdemux_loop (GstPad * pad)
static gboolean
gst_ffmpegdemux_sink_activate (GstPad * sinkpad)
{
GstFFMpegDemux *demux = (GstFFMpegDemux*) (GST_PAD_PARENT (sinkpad));
if (gst_pad_check_pull_range (sinkpad))
return gst_pad_activate_pull (sinkpad, TRUE);
GST_ELEMENT_ERROR (demux, STREAM, NOT_IMPLEMENTED,
(NULL), ("failed to activate sinkpad in pull mode, push mode not implemented yet"));
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment