[FFmpeg-trac] #57(avformat:new): Patch to read disc number in mov.c
FFmpeg
trac at avcodec.org
Tue Apr 12 19:37:41 CEST 2011
#57: Patch to read disc number in mov.c
----------------------+--------------------------
Reporter: rrt | Type: enhancement
Status: new | Priority: normal
Component: avformat | Version: git
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
----------------------+--------------------------
I attach a patch against current git head to read disc number in mov.c,
for example from .m4a files. I used the information at:
http://atomicparsley.sourceforge.net/mpeg-4files.html
to get the correct atom code and decode the information ('disk' works like
'trkn', so I was able to common up the decoding logic). Note that the tag
I fill in is called 'disc', not 'disk', for consistency with the rest of
ffmpeg.
The motivation to add this was that multi-disc albums were not sorting
correctly in MPD build against libavformat. With this fix it works fine.
I'm very keen to see this fix get into ffmpeg, and this is the first patch
I've sent, so if there's anything wrong with it, do say and I'll work to
fix it.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/57>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list