summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_videotoolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/hwcontext_videotoolbox.h')
-rw-r--r--libavutil/hwcontext_videotoolbox.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libavutil/hwcontext_videotoolbox.h b/libavutil/hwcontext_videotoolbox.h
index 25dde85df5..600e9f2c8d 100644
--- a/libavutil/hwcontext_videotoolbox.h
+++ b/libavutil/hwcontext_videotoolbox.h
@@ -39,10 +39,13 @@
* depending on application usage, so it is preferable to let CoreVideo manage
* the pool using the default implementation.
*
- * Currently AVHWDeviceContext.hwctx and AVHWFramesContext.hwctx are always
- * NULL.
+ * Currently AVHWDeviceContext.hwctx are always NULL.
*/
+typedef struct AVVTFramesContext {
+ enum AVColorRange color_range;
+} AVVTFramesContext;
+
/**
* Convert a VideoToolbox (actually CoreVideo) format to AVPixelFormat.
* Returns AV_PIX_FMT_NONE if no known equivalent was found.