projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d7f01
)
mxfdemux: Initialize index table entries completely in all cases
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 11 Jul 2017 17:53:22 +0000
(20:53 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 13 Jul 2017 06:43:37 +0000
(09:43 +0300)
When seeking backwards into a previously unseen location, we wouldn't
fully initialize them and playback would fail later.
gst/mxf/mxfdemux.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index f0535a0be099c8960f38481f41941ea609709687..9f56ef2e49f0c3900975f19824b9eb2caaea33d7 100644
(file)
--- a/
gst/mxf/mxfdemux.c
+++ b/
gst/mxf/mxfdemux.c
@@
-1791,6
+1791,9
@@
gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux,
&g_array_index (etrack->offsets, GstMXFDemuxIndex, etrack->position);
index->offset = demux->offset - demux->run_in;
+ index->initialized = TRUE;
+ index->pts = pts;
+ index->dts = dts;
index->keyframe = keyframe;
} else if (etrack->position < G_MAXINT) {
GstMXFDemuxIndex index;