mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
gst/avi/gstavidemux.c: Only pause if all pads are unlinked AND we've tried to send data on all of them at least once.
Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_all_source_pads_unlinked): Only pause if all pads are unlinked AND we've tried to send data on all of them at least once.
This commit is contained in:
parent
00ed57af01
commit
9a64d2bb3a
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/avi/gstavidemux.c: (gst_avi_demux_all_source_pads_unlinked):
|
||||||
|
Only pause if all pads are unlinked AND we've tried to send data
|
||||||
|
on all of them at least once.
|
||||||
|
|
||||||
2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
|
2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/avi/gstavidemux.c: (gst_avi_demux_all_source_pads_unlinked),
|
* gst/avi/gstavidemux.c: (gst_avi_demux_all_source_pads_unlinked),
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1
|
Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea
|
|
@ -2251,7 +2251,7 @@ gst_avi_demux_all_source_pads_unlinked (GstAviDemux * avi)
|
||||||
peer = gst_pad_get_peer (avi->stream[i].pad);
|
peer = gst_pad_get_peer (avi->stream[i].pad);
|
||||||
if (peer) {
|
if (peer) {
|
||||||
gst_object_unref (peer);
|
gst_object_unref (peer);
|
||||||
} else {
|
} else if (avi->stream[i].current_frame > 0) {
|
||||||
++num_unlinked;
|
++num_unlinked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue