diff options
Diffstat (limited to 'src/gav1/decoder_settings.h')
-rw-r--r-- | src/gav1/decoder_settings.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gav1/decoder_settings.h b/src/gav1/decoder_settings.h index ab22a4d..7ee487f 100644 --- a/src/gav1/decoder_settings.h +++ b/src/gav1/decoder_settings.h @@ -62,7 +62,8 @@ typedef struct Libgav1DecoderSettings { Libgav1GetFrameBufferCallback get_frame_buffer; // Release frame buffer callback. Libgav1ReleaseFrameBufferCallback release_frame_buffer; - // Release input frame buffer callback. + // Release input frame buffer callback. This callback must be set when + // |frame_parallel| is true. Libgav1ReleaseInputBufferCallback release_input_buffer; // Passed as the private_data argument to the callbacks. void* callback_private_data; @@ -117,7 +118,8 @@ struct DecoderSettings { GetFrameBufferCallback get_frame_buffer = nullptr; // Release frame buffer callback. ReleaseFrameBufferCallback release_frame_buffer = nullptr; - // Release input frame buffer callback. + // Release input frame buffer callback. This callback must be set when + // |frame_parallel| is true. ReleaseInputBufferCallback release_input_buffer = nullptr; // Passed as the private_data argument to the callbacks. void* callback_private_data = nullptr; |