summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-22 22:38:06 +0200
committerwm4 <wm4@nowhere>2014-09-22 22:38:06 +0200
commit9ce45261399e2ee99f468c5016b378fd5360ae12 (patch)
treee3ee6a98421a21eeac6c09c0f4dfbba41f99c7f6 /player/playloop.c
parent2cfc35892c7cd359304c8fc9c7f855678eb9b57c (diff)
downloadmpv-9ce45261399e2ee99f468c5016b378fd5360ae12.tar.bz2
mpv-9ce45261399e2ee99f468c5016b378fd5360ae12.tar.xz
audio: prefer libavcodec over libmpg123
libavcodec/libavformat now handles gapless audio better. In theory, this could be implemented with ad_mpg123 too, but since libavformat strips metadata from mp3 files and passes pure mp3 packets to the decoders only, this can't work by itself. Instead, the player must pass this metadata separately. libav* do this relatively transparently over packet "side data" (attached to AVPacket). It might also be possible to let libmpg123 handles all this by implementing it as demuxer that outputs PCM, but that would have other problems, and I think it's better to make libavformat work correctly. libmpg123 can still be used with '--ad=mpg123:mp3'. Also see issue #1101.
Diffstat (limited to 'player/playloop.c')
0 files changed, 0 insertions, 0 deletions