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
}
/* 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);