mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mxfdemux: Use material track edit rate for component PTS offsetting
This commit is contained in:
parent
26d5ba42ea
commit
59f9bc05d2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue