diff options
author | wm4 <wm4@nowhere> | 2016-05-11 16:18:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-11 16:20:13 +0200 |
commit | 70b35612704a992dac45856e069608216f41ea89 (patch) | |
tree | 6ed76d1cfc9f4dad857b0c8d56c7fd6db1bb24fc /video/decode/lavc.h | |
parent | 2ec26b8396c8d44def148351ee370fde4b950cbf (diff) |
video: add --hwdec=auto-copy mode
This uses the normal autoprobing rules like "auto", but rejects anything
that isn't flagged as copying data back to system memory.
The chunk in command.c was dead code, so remove it instead of updating
it.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index dbefe79ad9..689222d872 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -49,6 +49,8 @@ struct vd_lavc_hwdec { // If not-0: the IMGFMT_ format that should be accepted in the libavcodec // get_format callback. int image_format; + // Always returns a non-hwaccel image format. + bool copying; // Setting this will queue the given number of frames before calling // process_image() or returning them to the renderer. This can increase // efficiency by not blocking on the hardware pipeline by reading back |