diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-11 09:40:46 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:43 +0200 |
commit | 1bcb3fc805e4d6577ac41ab797d38b8bacc8ef89 (patch) | |
tree | c24c8d48bbb47a18b341986b1b466c5af422fc93 /spudec.c | |
parent | 4a466e95730e97e22c16688edfe19974fa9d7c90 (diff) | |
download | mpv-1bcb3fc805e4d6577ac41ab797d38b8bacc8ef89.tar.bz2 mpv-1bcb3fc805e4d6577ac41ab797d38b8bacc8ef89.tar.xz |
subs: improve scaling for avcodec subs
Try to get subtitle scaling somewhat right with libavcodec decoded
bitmap subtitles.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31697 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r-- | spudec.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -643,11 +643,9 @@ void spudec_heartbeat(void *this, unsigned int pts100) spu->start_col = packet->start_col; spu->start_row = packet->start_row; - // TODO use correct values + // reset scaled image spu->scaled_frame_width = 0; spu->scaled_frame_height = 0; - spu->orig_frame_width = 1920; - spu->orig_frame_height = 1080; } else { if (spu->auto_palette) compute_palette(spu, packet); |