summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavidemux.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-10-08 13:31:44 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-10-08 13:31:44 +0000
commitb9a1894e5c5b2f07cdb20c7465d6915aaedec438 (patch)
treea8147f311b4431bb5dee106b20581dcb36a2a097 /gst/avi/gstavidemux.h
parent0e9db391c73bba77851d7d5f637b4f305c61d364 (diff)
gst/avi/gstavidemux.*: For timestamping audio packets we need to take into account the amount of blocks in one entry ...
Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index): * gst/avi/gstavidemux.h: For timestamping audio packets we need to take into account the amount of blocks in one entry using the blockalign. Fixes some sync issues with zero-padded audio blocks in the beginning of avi files.
Diffstat (limited to 'gst/avi/gstavidemux.h')
-rw-r--r--gst/avi/gstavidemux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/avi/gstavidemux.h b/gst/avi/gstavidemux.h
index 09e12b59..1537f915 100644
--- a/gst/avi/gstavidemux.h
+++ b/gst/avi/gstavidemux.h
@@ -89,6 +89,7 @@ typedef struct {
/* stream length */
guint64 total_bytes;
guint32 total_frames;
+ guint32 total_blocks;
/* stream length according to index */
GstClockTime idx_duration;
/* stream length according to header */