Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
Post nice error message when we cannot activate in pull mode.
+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):
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;
}