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 video/decode: mp_msg conversions 2013-12-21 20:50:10 +01:00
lavc.h video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
lavc_dr1.c build: make pthreads mandatory 2013-11-28 19:28:38 +01:00
vaapi.c video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
vd.h video: move video filter chain initialization from decoder to player 2013-12-10 20:07:39 +01:00
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 vdpau: mp_msg conversions 2013-12-21 20:50:11 +01:00