mpv/sub
wm4 98f74335d5 sub: fix text subtitle aspect ratio with vo_xv and vo_lavc, refactor
This fixes that vo_xv didn't display text subtitles correctly when
using anamorphic video. It didn't pass the aspect information to the
subtitle renderer. Also, try to render OSD correctly with respect to
aspect ratio settings: on vo_xv, the OSD is rendered into the video,
and needs to be "stretched" too when playing anamorphic video. When
the -monitorpixelaspect option is used, even with VOs such as vo_opengl
the OSD has to be rendered with that aspect ratio.

As preparation for future commits, replace the weird vsfilter_scale
value with a somewhat more sensible video_par member.

Also, struct mp_eosd_res is a better place for the aspect ratio
parameters, as OSD needs this too.

Use osd_draw_on_image() directly in vo_lavc, which fixes aspect ratio
issues as well.
2012-10-24 21:56:33 +02:00
..
ass_mp.c Merge branch 'master' into osd_changes 2012-10-16 07:30:30 +02:00
ass_mp.h sub: remove logic for disabling hinting on scaled EOSD 2012-10-16 07:26:31 +02:00
dec_sub.c sub: never decode subs to old OSD format 2012-10-16 07:26:32 +02:00
dec_sub.h sub: fix text subtitle aspect ratio with vo_xv and vo_lavc, refactor 2012-10-24 21:56:33 +02:00
draw_bmp.c draw_bmp: compensate for libswscale writing past image bounds 2012-10-24 21:56:33 +02:00
draw_bmp.h sub: add helper to draw sub-bitmaps into an image 2012-10-24 21:56:29 +02:00
find_sub.c
find_subfiles.c sub: silence output of subtitle search message 2012-07-30 01:45:07 +02:00
find_subfiles.h subs: options: add -sub-paths 2011-04-20 04:22:52 +03:00
img_convert.c Remove things related to old OSD 2012-10-24 21:56:33 +02:00
img_convert.h Remove things related to old OSD 2012-10-24 21:56:33 +02:00
osd_dummy.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
osd_font.pfb osd: osd_font.h -> osd_font.pfb 2012-07-28 23:36:08 +02:00
osd_libass.c sub: fix text subtitle aspect ratio with vo_xv and vo_lavc, refactor 2012-10-24 21:56:33 +02:00
sd.h sub: cleanup: don't pass parameters via global variables 2012-10-16 07:26:32 +02:00
sd_ass.c sub: fix text subtitle aspect ratio with vo_xv and vo_lavc, refactor 2012-10-24 21:56:33 +02:00
sd_lavc.c sub: fix and simplify some change detection details 2012-10-16 07:26:45 +02:00
spudec.c spudec: use csputils for color conversion 2012-10-24 21:56:33 +02:00
spudec.h Remove things related to old OSD 2012-10-24 21:56:33 +02:00
sub.c sub: fix text subtitle aspect ratio with vo_xv and vo_lavc, refactor 2012-10-24 21:56:33 +02:00
sub.h sub: fix text subtitle aspect ratio with vo_xv and vo_lavc, refactor 2012-10-24 21:56:33 +02:00
subassconvert.c subassconvert: order colour names alphabetically / better match W3 list 2012-08-03 03:47:09 +02:00
subassconvert.h
subreader.c sub: simplify code by always defining sub_cp 2012-08-03 06:53:10 +02:00
subreader.h Remove dead code 2012-08-01 17:07:35 +02:00
vobsub.c Remove dead code 2012-08-01 17:07:35 +02:00
vobsub.h Remove dead code 2012-08-01 17:07:35 +02:00