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
@ -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
|
/* we should have a buffer now, see if it is the best pad to
|
||||||
* pull on */
|
* pull on. Our best pad can't be eos */
|
||||||
if (pad->buffer) {
|
if (pad->buffer && !pad->eos) {
|
||||||
if (gst_ogg_mux_compare_pads (ogg_mux, bestpad, pad) > 0) {
|
if (gst_ogg_mux_compare_pads (ogg_mux, bestpad, pad) > 0) {
|
||||||
GST_LOG_OBJECT (data->pad,
|
GST_LOG_OBJECT (data->pad,
|
||||||
"new best pad, with buffer %" GST_PTR_FORMAT, pad->buffer);
|
"new best pad, with buffer %" GST_PTR_FORMAT, pad->buffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user