[FFmpeg-devel] [PATCH] mxfenc: fix essence container count value
Tomas Härdin
tomas.hardin at codemill.se
Thu Oct 25 10:25:48 CEST 2012
On Wed, 2012-10-24 at 17:14 +0200, Matthieu Bouron wrote:
> @@ -1761,9 +1763,10 @@ static int mxf_write_header(AVFormatContext *s)
> present[sc->index]++;
> }
>
> - if (s->oformat == &ff_mxf_d10_muxer) {
> + if (s->oformat == &ff_mxf_d10_muxer)
> mxf->essence_container_count = 1;
> - }
> + else if (mxf->essence_container_count > 1)
> + mxf->essence_container_count++;
Please don't abuse this field. The EC count is the same - you just want
to write a MultipleDescriptor ref in the Preface. I'd much prefer
something like the attached patch.
/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mxfenc-Write-MultipleDescriptor-ref-in-Preface.patch
Type: text/x-patch
Size: 2714 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121025/58aa2c97/attachment.bin>
More information about the ffmpeg-devel
mailing list