projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07be810
)
qtmux: allow zero duration tracks
author
Lasse Laukkanen
<lasse.laukkanen@digia.com>
Fri, 17 Dec 2010 17:41:25 +0000
(19:41 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:20 +0000
(20:32 +0100)
gst/quicktime/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/quicktime/gstqtmux.c
b/gst/quicktime/gstqtmux.c
index
5ef009a
..
2cd848b
100644
(file)
--- a/
gst/quicktime/gstqtmux.c
+++ b/
gst/quicktime/gstqtmux.c
@@
-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));