# HG changeset patch # User bcoudurier # Date 1246694218 0 # Node ID ad1e45ad8e5e280650cb618be44b57cc281779bf # Parent d1609b5528e6d70b25fa03f0ae2fa607272dcaae set index duration to 0 for cbr, specifying whole container coverage diff -r d1609b5528e6 -r ad1e45ad8e5e mxfenc.c --- a/mxfenc.c Sat Jul 04 07:52:28 2009 +0000 +++ b/mxfenc.c Sat Jul 04 07:56:58 2009 +0000 @@ -1072,7 +1072,10 @@ // index duration mxf_write_local_tag(pb, 8, 0x3F0D); - put_be64(pb, mxf->edit_units_count); + if (mxf->edit_unit_byte_count) + put_be64(pb, 0); // index table covers whole container + else + put_be64(pb, mxf->edit_units_count); // edit unit byte count mxf_write_local_tag(pb, 4, 0x3F05);