]> git.sesse.net Git - ffmpeg/commit
dvbsubdec: set width/height from display def if not set.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 27 Aug 2012 15:57:11 +0000 (17:57 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 31 Aug 2012 17:58:09 +0000 (19:58 +0200)
commitfe79fc2ea55b65141f3d664583d1caaf25d70ae5
treea6f4bf4757360f73147755863ffb7cd4e7e92c44
parentdddd006cabcead012ad88a0ec027578cd2963031
dvbsubdec: set width/height from display def if not set.

This fixes playback of DVB subtitles in
http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket1065/Test1.wtv
in MPlayer.
FFplay is not affected since it assumes that the subtitles
are scaled to match the video - but this usually isn't the
case after rescaling the video and stream-copying subtitles.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/dvbsubdec.c