[FFmpeg-devel] [PATCH v2 4/4] avformat/imf: document IMFVirtualTrackResourcePlaybackCtx
pal at sandflow.com
pal at sandflow.com
Wed Feb 2 02:13:02 EET 2022
From: Pierre-Anthony Lemieux <pal at palemieux.com>
---
libavformat/imfdec.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c
index 5be4411cb1..02e7bcc33f 100644
--- a/libavformat/imfdec.c
+++ b/libavformat/imfdec.c
@@ -96,12 +96,12 @@ typedef struct IMFAssetLocatorMap {
} IMFAssetLocatorMap;
typedef struct IMFVirtualTrackResourcePlaybackCtx {
- IMFAssetLocator *locator;
- FFIMFTrackFileResource *resource;
- AVFormatContext *ctx;
- AVRational start_time;
- AVRational end_time;
- AVRational ts_offset;
+ IMFAssetLocator *locator; /**< Location of the resource */
+ FFIMFTrackFileResource *resource; /**< Underlying IMF CPL resource */
+ AVFormatContext *ctx; /**< Context associated with the resource */
+ AVRational start_time; /**< inclusive start time of the resource on the CPL timeline (s) */
+ AVRational end_time; /**< exclusive end time of the resource on the CPL timeline (s) */
+ AVRational ts_offset; /**< start_time minus the entry point into the resource (s) */
} IMFVirtualTrackResourcePlaybackCtx;
typedef struct IMFVirtualTrackPlaybackCtx {
--
2.17.1
More information about the ffmpeg-devel
mailing list