]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavformat/isom.h
Parse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
[frescor/ffmpeg.git] / libavformat / isom.h
index ecfa83c1502bb63a15b68f1b75edf0f107bade06..5b18f1ee98a230be2cb0565aa33d6598cacf8d99 100644 (file)
@@ -115,9 +115,10 @@ typedef struct MOVStreamContext {
     unsigned drefs_count;
     MOVDref *drefs;
     int dref_id;
-    int wrong_dts; ///< dts are wrong due to negative ctts
+    int wrong_dts; ///< dts are wrong due to huge ctts offset (iMovie files)
     int width;  ///< tkhd width
     int height; ///< tkhd height
+    int dts_shift; ///< dts shift when ctts is negative
 } MOVStreamContext;
 
 typedef struct MOVContext {