gst/asfdemux/gstasfdemux.c: Sync _activate_pull() a little more with other demuxers.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
Sync _activate_pull() a little more with other demuxers.
This commit is contained in:
Stefan Kost 2007-11-13 06:57:57 +00:00
parent 4cbb91cb02
commit fcc7538113
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2007-11-13 Stefan Kost <ensonic@users.sf.net>
* gst/asfdemux/gstasfdemux.c:
Sync _activate_pull() a little more with other demuxers.
2007-11-11 Thijs Vermeir <thijsvermeir@gmail.com>
* gst/mpegstream/gstmpegdemux.c:

View file

@ -273,7 +273,6 @@ static gboolean
gst_asf_demux_activate_pull (GstPad * pad, gboolean active)
{
GstASFDemux *demux;
gboolean ret;
demux = GST_ASF_DEMUX (GST_OBJECT_PARENT (pad));
@ -281,11 +280,11 @@ gst_asf_demux_activate_pull (GstPad * pad, gboolean active)
demux->state = GST_ASF_DEMUX_STATE_HEADER;
demux->streaming = FALSE;
ret = gst_pad_start_task (pad, (GstTaskFunction) gst_asf_demux_loop, demux);
return gst_pad_start_task (pad, (GstTaskFunction) gst_asf_demux_loop,
demux);
} else {
ret = gst_pad_stop_task (pad);
return gst_pad_stop_task (pad);
}
return ret;
}