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:
3fcfe77
)
qtmux: Error out directly if sending filler data results in a flow error
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 10 May 2017 09:12:23 +0000
(11:12 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 10 May 2017 09:12:23 +0000
(11:12 +0200)
CID 1405994
gst/isomp4/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/gstqtmux.c
b/gst/isomp4/gstqtmux.c
index
889cf65
..
4d89688
100644
(file)
--- a/
gst/isomp4/gstqtmux.c
+++ b/
gst/isomp4/gstqtmux.c
@@
-4273,6
+4273,8
@@
gst_qt_mux_add_buffer (GstQTMux * qtmux, GstQTPad * pad, GstBuffer * buf)
gst_buffer_memset (fill_buf, 0, 0, fill_size);
ret = gst_qt_mux_send_buffer (qtmux, fill_buf, &qtmux->mdat_size, TRUE);
+ if (ret != GST_FLOW_OK)
+ goto bail;
qtmux->current_chunk_offset = chunk_offset = sample_entry->chunk_offset;
qtmux->current_chunk_size = buffer_size;
qtmux->current_chunk_duration = duration;