mpv/libvo
Uoti Urpala 966340b31a subs: use correct font aspect ratio for libass + converted subs
Rendering of ASS subtitles tries to be bug compatible with VSFilter
and stretches fonts when the video is anamorphic (some scripts try to
compensate for this VSFilter behavior, so trying to render them
"correctly" would give the wrong result). However this behavior is not
appropriate for subtitles we converted to ASS format ourselves for
libass rendering, as they certainly don't have VSFilter bug
workarounds. Change the code to use different behavior for "native"
ASS tracks and converted ones. It's questionable whether the
VSFilter-compatible behavior is appropriate for external .ass files
either, as there could be anamorphic and non-anamorphic versions of
the same video and the bug-compatible behavior can only be correct for
one alternative at most. However it's probably better to keep it as a
default at least, so that extracting a muxed subtitle track and using
that does not give behavior different from the original muxed one.

The aspect ratio setting is per ASS_Renderer, and changing it resets
libass caches. For that reason this commit adds separate renderer
instances to use for the "correct" and "VSFilter bug compatible"
cases.
2011-01-26 20:38:53 +02:00
..
aclib.c
aclib_template.c
aspect.c aspect.c: use fallback if screen dimensions are not known 2010-11-02 04:18:09 +02:00
aspect.h
aspecttest.c
csputils.c
csputils.h
fastmemcpy.h
font_load.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
font_load.h
font_load_ft.c font_load_ft.c: disable -fontconfig if compiled without libfontconfig 2010-12-16 04:15:13 +02:00
geometry.c
geometry.h
gl_common.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
gl_common.h
gtf.c
gtf.h
jpeg_enc.c
jpeg_enc.h
matrixview.c
matrixview.h
matrixview_font.h
mga_template.c vo_mga: minor code cleanup 2010-11-02 04:18:09 +02:00
old_vo_defines.h
old_vo_wrapper.c
old_vo_wrapper.h
osd.c
osd.h
osd_font.h
osd_template.c
osx_common.c
osx_common.h
sdl_common.c
sdl_common.h
spuenc.c
spuenc.h
sub.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
sub.h subs: use correct font aspect ratio for libass + converted subs 2011-01-26 20:38:53 +02:00
vdpau_template.c
vesa_lvo.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vesa_lvo.h vesa_lvo.c: make functions static 2010-11-02 04:16:56 +02:00
video_out.c libvo: register X11 connection fd in input event system 2010-12-14 22:33:12 +02:00
video_out.h cleanup: some random minor code simplification and cleanup 2011-01-26 13:04:17 +02:00
video_out_internal.h
videodev_mjpeg.h
vo_3dfx.c
vo_aa.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_bl.c
vo_caca.c vo_caca: Update URL to patch for new API support 2010-11-02 04:16:55 +02:00
vo_corevideo.h
vo_corevideo.m cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_cvidix.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_dfbmga.c
vo_dga.c
vo_direct3d.c
vo_directfb2.c vo_vesa, vo_directfb2: Replace local min/max macros by FFMIN/FFMAX 2010-11-02 04:16:55 +02:00
vo_directx.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_dxr2.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_dxr3.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_fbdev.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_fbdev2.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_ggi.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_gif89a.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_gl.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_gl2.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_ivtv.c
vo_ivtv.h
vo_jpeg.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_kva.c vo_kva: Restore all the attributes after changing aspect ratio 2010-11-07 21:49:51 +02:00
vo_matrixview.c
vo_md5sum.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_mga.c
vo_mpegpes.c
vo_null.c
vo_png.c
vo_pnm.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_quartz.c
vo_s3fb.c
vo_sdl.c
vo_svga.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_tdfx_vid.c
vo_tdfxfb.c
vo_tga.c
vo_v4l2.c
vo_v4l2.h
vo_vdpau.c cleanup: some random minor code simplification and cleanup 2011-01-26 13:04:17 +02:00
vo_vesa.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_wii.c
vo_winvidix.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_x11.c
vo_xmga.c vo_xmga: Remove an unmotivated and pointless panscan_calc call 2010-11-02 04:18:09 +02:00
vo_xover.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_xv.c libvo: register X11 connection fd in input event system 2010-12-14 22:33:12 +02:00
vo_xvidix.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_xvmc.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_xvr100.c
vo_yuv4mpeg.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_zr.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_zr.h
vo_zr2.c
vosub_vidix.c
vosub_vidix.h
w32_common.c vo_gl: create stereo-capable window when using Quadbuffer 3D 2010-11-14 12:32:00 +02:00
w32_common.h
wskeys.h
x11_common.c input: support bindings with modifier keys for X input 2010-12-20 19:02:24 +02:00
x11_common.h input: support bindings with modifier keys for X input 2010-12-20 19:02:24 +02:00