mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
4cbb91cb02
commit
fcc7538113
2 changed files with 8 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue