mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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.
This commit is contained in:
parent
4aa57ea7e5
commit
f675ce7cfd
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue