[FFmpeg-devel] [PATCH]Ignore or try to fix "WM/Track" in asf

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 31 20:42:25 CET 2011


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > Attached patch fixes ticket #825 for me.
> > An alternative would be to always ignore "WM/Track" (which is deprecated and 
> > 0-based).
> 
> i think incrementing WM/Track -> WM/Track+1 is not ideal as a user
> app cant figure out from it if it has a before or after fix value

asf_read_header() calls ff_metadata_conv(), so afaict, no app can ever read
WM/Track, they only see (a wrong value for) "track".

Do you also prefer if "WM/Track" is not mapped to track? That fixes the sample
we have (as does my patch), other samples may need the mapping...

Carl Eugen



More information about the ffmpeg-devel mailing list