summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-07-24 16:54:22 +0300
committerSebastian Dröge <sebastian@centricular.com>2017-07-24 16:57:19 +0300
commit59f9bc05d29038e498ed4c96311adc567fe57bfd (patch)
treee0be85e1802829bf9a611b1656c789a96c527fe8 /gst
parent26d5ba42eaa4298818fc0b38d7a61e7d769c0611 (diff)
mxfdemux: Use material track edit rate for component PTS offsetting
Diffstat (limited to 'gst')
-rw-r--r--gst/mxf/mxfdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c
index e71dcb7c3..1118d1f6d 100644
--- a/gst/mxf/mxfdemux.c
+++ b/gst/mxf/mxfdemux.c
@@ -1924,8 +1924,8 @@ gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux,
pad->current_essence_track->source_track->edit_rate.n);
GST_BUFFER_PTS (outbuf) +=
gst_util_uint64_scale (pad->current_component_start_position *
- GST_SECOND, pad->current_essence_track->source_track->edit_rate.d,
- pad->current_essence_track->source_track->edit_rate.n);
+ GST_SECOND, pad->material_track->edit_rate.d,
+ pad->material_track->edit_rate.n);
} else {
GST_BUFFER_PTS (outbuf) = GST_CLOCK_TIME_NONE;
}