mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
qtmux: allow zero duration tracks
This commit is contained in:
parent
07be810e0e
commit
02bdefd9ba
1 changed files with 5 additions and 0 deletions
|
@ -1645,6 +1645,11 @@ gst_qt_mux_stop_file (GstQTMux * qtmux)
|
|||
GstCollectData *cdata = (GstCollectData *) walk->data;
|
||||
GstQTPad *qtpad = (GstQTPad *) cdata;
|
||||
|
||||
if (!qtpad->last_buf) {
|
||||
GST_DEBUG_OBJECT (qtmux, "Pad %s has no buffers",
|
||||
GST_PAD_NAME (qtpad->collect.pad));
|
||||
continue;
|
||||
}
|
||||
/* send last buffer */
|
||||
GST_DEBUG_OBJECT (qtmux, "Sending the last buffer for pad %s",
|
||||
GST_PAD_NAME (qtpad->collect.pad));
|
||||
|
|
Loading…
Reference in a new issue