diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2023-10-17 00:09:29 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2023-10-17 00:09:29 +0300 |
commit | 125f732378aa52f37866e9a69e6388edd545a464 (patch) | |
tree | d41906fe12e4258518c11d0c273370af4f867818 /include/kitchensink/internal | |
parent | 0b77113acd8a4a780ec66475d9eb44d2ac23d4e4 (diff) |
Add a function for fetching the video aspect ratio
Diffstat (limited to 'include/kitchensink/internal')
-rw-r--r-- | include/kitchensink/internal/kitdecoder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kitchensink/internal/kitdecoder.h b/include/kitchensink/internal/kitdecoder.h index 7fb43b4..deac1b7 100644 --- a/include/kitchensink/internal/kitdecoder.h +++ b/include/kitchensink/internal/kitdecoder.h @@ -29,6 +29,7 @@ struct Kit_Decoder { int stream_index; ///< Source stream index for the current stream
double clock_sync; ///< Sync source for current stream
double clock_pos; ///< Current pts for the stream
+ AVRational aspect_ratio; ///< Aspect ratio for the current frame (may change frome-to-frame)
Kit_OutputFormat output; ///< Output format for the decoder
AVCodecContext *codec_ctx; ///< FFMpeg internal: Codec context
|