summaryrefslogtreecommitdiffstats
path: root/Copyright
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-23 22:09:04 +0200
committerwm4 <wm4@nowhere>2013-06-23 22:34:00 +0200
commit1058d80a5ecafeb4eebcc558be548ac6877955ef (patch)
tree0c7cb2a5ee262b595814cce6a458baebb057b1d9 /Copyright
parentbd45eb468ced227f335bbdebc59ab36eb9a6fb06 (diff)
downloadmpv-1058d80a5ecafeb4eebcc558be548ac6877955ef.tar.bz2
mpv-1058d80a5ecafeb4eebcc558be548ac6877955ef.tar.xz
sd_ass: handle libavformat ASS comment packets as well
Currently, we are filtering libavformat style ASS packets by checking whether they are prefixed "Dialogue: ". Unfortunately, comment packets are demuxed too. These start with "Comment: ", so they are not caught. Change the filtering, and use the codec ID instead. libavformat uses "ssa" as codec ID for ASS subtitles, while mpv uses "ass". Also, at least FFmpeg will change the ASS packet format to the same format mpv and Matroska use, and identify these with "ass" as codec ID, so this is works out nicely.
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions