mxfmux: Add FIXME about enforcing that all tracks in a source package have the same edit rate

The standard requires this and also the index table segments are not going to
work otherwise.
This commit is contained in:
Sebastian Dröge 2015-12-08 16:45:33 +02:00
parent df7209a1c5
commit a02708f924

View file

@ -681,6 +681,10 @@ gst_mxf_mux_create_metadata (GstMXFMux * mux)
pad->writer->get_track_number_template (pad->descriptor,
caps, pad->mapping_data);
/* FIXME: All tracks in a source package must have the same edit
* rate! This means that if we have different edit rates, we need to
* make them different source packages and essence containers with
* a different BodySID */
pad->writer->get_edit_rate (pad->descriptor,
caps, pad->mapping_data, buffer, p, track, &track->edit_rate);
if (buffer)