]> git.sesse.net Git - vlc/blobdiff - modules/demux/ogg.h
MKV: fix metadata, by reading the spec
[vlc] / modules / demux / ogg.h
index 3ad627d162b3b6eb9383292f1147a73026cdf1bb..8c1d72b159b9d92575478e831bb5a7fedba1f0ae 100644 (file)
@@ -65,6 +65,8 @@ typedef struct logical_stream_s
     /* Misc */
     bool b_reinit;
     int i_granule_shift;
+    /* Opus has a starting offset in the headers. */
+    int i_pre_skip;
 
     /* offset of first keyframe for theora; can be 0 or 1 depending on version number */
     int64_t i_keyframe_offset;
@@ -135,4 +137,7 @@ struct demux_sys_t
     /* */
     int                i_attachments;
     input_attachment_t **attachments;
+
+    /* Length, if available. */
+    int64_t i_length;
 };