[FFmpeg-devel] [PATCH v1 4/4] avformat/imf: document IMFVirtualTrackResourcePlaybackCtx
pal at sandflow.com
pal at sandflow.com
Mon Jan 31 00:00:55 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 05dcb6ff31..9f9087f936 100644
--- a/libavformat/imfdec.c
+++ b/libavformat/imfdec.c
@@ -95,12 +95,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