mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
oggmux: The best pad can't be EOS
The problem experienced is that the EOS was never emitted by oggmux during a rendering with GES. The proposed patch checks if the pad is EOS before deciding it's the "best pad". https://bugzilla.gnome.org/show_bug.cgi?id=699792
This commit is contained in:
parent
3ad2dec005
commit
4c362768fc
1 changed files with 2 additions and 2 deletions
|
@ -1043,8 +1043,8 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux, gboolean * popped)
|
|||
}
|
||||
|
||||
/* we should have a buffer now, see if it is the best pad to
|
||||
* pull on */
|
||||
if (pad->buffer) {
|
||||
* pull on. Our best pad can't be eos */
|
||||
if (pad->buffer && !pad->eos) {
|
||||
if (gst_ogg_mux_compare_pads (ogg_mux, bestpad, pad) > 0) {
|
||||
GST_LOG_OBJECT (data->pad,
|
||||
"new best pad, with buffer %" GST_PTR_FORMAT, pad->buffer);
|
||||
|
|
Loading…
Reference in a new issue