1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-15 19:47:32 +00:00
mpv/video/decode
wm4 c3a0721d09 video/out: don't require VOs to handle screenshot aspect specially
This affects VOs which just reuse the mp_image from draw_image() to
return screenshots. The aspect of these images is never different
from the aspect the screenshots should be, so there's no reason to
adjust the aspect in these cases.

Other VOs still need it in order to restore the original image
attributes.

This requires some changes to the video filter code to make sure that
the aspect in the passed mp_images is consistent.

The changes in mplayer.c and vd_lavc.c are (probably) not strictly
needed for this commit, but contribute to consistency.
2013-08-24 17:03:06 +02:00
..
dec_video.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
dec_video.h video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
lavc_dr1.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
lavc.h video/decode: change fix_image callback 2013-08-15 23:40:02 +02:00
vaapi.c vaapi: use highest available profile, instead of mapping it exactly 2013-08-19 01:05:48 +02:00
vd_lavc.c video/out: don't require VOs to handle screenshot aspect specially 2013-08-24 17:03:06 +02:00
vd.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vd.h vd: add VDCTRL_GET_PARAMS 2013-07-15 01:49:26 +02:00
vda.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
vdpau_old.c vdpau_old: add forgotten probe callback 2013-08-15 23:40:04 +02:00
vdpau.c vdpau: don't try to match codec profiles 2013-08-19 01:05:48 +02:00