summaryrefslogtreecommitdiffstats
path: root/core/defaultopts.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-04 17:17:11 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:39:31 +0100
commitcfa1f9e082f3da83adb5161be140e477b38bc5c7 (patch)
tree3734904c1328ccc4967f34f20b3cbd405c54030c /core/defaultopts.h
parent58d3469fd6e983887a64afc51e0611504b749b3e (diff)
downloadmpv-cfa1f9e082f3da83adb5161be140e477b38bc5c7.tar.bz2
mpv-cfa1f9e082f3da83adb5161be140e477b38bc5c7.tar.xz
video: make vdpau hardware decoding not use slices code path
For some reason, libavcodec abuses the slices rendering code path for hardware decoding: in that case, the only purpose of the draw callback is to pass a vdpau video surface object to video output. (It is unclear to me why this had to use the slices code, instead of just returning an AVFrame with the required vdpau state.) Make this code separate within mpv, so that the internal slices code path is not used for hardware decoding. Pass the vdpau state with VOCTRL_HWDEC_DECODER_RENDER instead. Remove the mencoder specific VOCTRLs.
Diffstat (limited to 'core/defaultopts.h')
0 files changed, 0 insertions, 0 deletions