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:
Tim-Philipp Müller 2006-02-02 21:00:16 +00:00
parent 00ed57af01
commit 9a64d2bb3a
3 changed files with 8 additions and 2 deletions

View file

@ -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>
* gst/avi/gstavidemux.c: (gst_avi_demux_all_source_pads_unlinked),

2
common

@ -1 +1 @@
Subproject commit 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1
Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea

View file

@ -2251,7 +2251,7 @@ gst_avi_demux_all_source_pads_unlinked (GstAviDemux * avi)
peer = gst_pad_get_peer (avi->stream[i].pad);
if (peer) {
gst_object_unref (peer);
} else {
} else if (avi->stream[i].current_frame > 0) {
++num_unlinked;
}
}