diff options
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index 6287dc8577..810d7e393c 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -87,6 +87,10 @@ struct vd_lavc_hwdec { enum hwdec_type type; // If non-0, get this hwdec type from the VO (for the AVHWDeviceContext). enum hwdec_type interop_type; + // If true, create a AVHWDeviceContext with default parameters. In this + // case, create_standalone_dev_type is set to a valid value. + bool create_standalone_dev; + enum AVHWDeviceType create_standalone_dev_type; // If not-0: the IMGFMT_ format that should be accepted in the libavcodec // get_format callback. int image_format; |