mpv/video/decode
wm4 ccce58d6d6 video: initialize hw decoder in get_format
Apparently the "right" place to initialize the hardware decoder is in
the libavcodec get_format callback.

This doesn't change vda.c and vdpau_old.c, because I don't have OSX, and
vdpau_old.c is probably going to be removed soon (if Libav ever manages
to release Libav 10). So for now the init_decoder callback added with
this commit is optional.

This also means vdpau.c and vaapi.c don't have to manage and check the
image parameters anymore.

This change is probably needed for when libavcodec VDA supports gets a
new iteration of its API.
2014-03-10 22:56:26 +01:00
..
dec_video.c video: fix --no-aspect 2014-02-11 17:36:25 +01:00
dec_video.h
lavc.h video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
lavc_dr1.c
vaapi.c video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
vd.h
vd_lavc.c video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
vda.c vda: attempt to fix build (2) 2013-12-22 01:44:19 +01:00
vdpau.c video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
vdpau_old.c