]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/internal.h
lavf: move AVStream.{nb_decoded_frames,mux_ts_offset} to AVStreamInternal
[ffmpeg] / libavformat / internal.h
index efa5a8b23892979b122e8362d3d06c813e06d4ae..b1112fe4632319e5f805a5863f2d466739231701 100644 (file)
@@ -225,6 +225,17 @@ struct AVStreamInternal {
 
     } *info;
 
+    /**
+     * Number of internally decoded frames, used internally in libavformat, do not access
+     * its lifetime differs from info which is why it is not in that structure.
+     */
+    int nb_decoded_frames;
+
+    /**
+     * Timestamp offset added to timestamps before muxing
+     */
+    int64_t mux_ts_offset;
+
     /**
      * Internal data to check for wrapping of the time stamp
      */