mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
qtmux: allow zero duration tracks
This commit is contained in:
parent
767c29cc2f
commit
699e0abd49
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;
|
GstCollectData *cdata = (GstCollectData *) walk->data;
|
||||||
GstQTPad *qtpad = (GstQTPad *) cdata;
|
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 */
|
/* send last buffer */
|
||||||
GST_DEBUG_OBJECT (qtmux, "Sending the last buffer for pad %s",
|
GST_DEBUG_OBJECT (qtmux, "Sending the last buffer for pad %s",
|
||||||
GST_PAD_NAME (qtpad->collect.pad));
|
GST_PAD_NAME (qtpad->collect.pad));
|
||||||
|
|
Loading…
Reference in a new issue