diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-03-03 17:51:16 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-03-03 17:51:16 +0000 |
commit | 320dea6afe309625296473435d6e772345f83331 (patch) | |
tree | 863788a596597d27e9783b65e0ef05394a1f2373 /gst/avi/gstavidemux.h | |
parent | 188bd155cde994b5c2a69b1a25a900c8b30d1608 (diff) |
gst/avi/gstavidemux.*: If we have an index, use a duration based on the index instead of blindly trusting the informa...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_handle_src_event), (gst_avi_demux_parse_stream),
(gst_avi_demux_calculate_durations_from_index),
(gst_avi_demux_stream_header):
* gst/avi/gstavidemux.h:
If we have an index, use a duration based on the index instead
of blindly trusting the information in the stream headers
(fixes #331817).
Diffstat (limited to 'gst/avi/gstavidemux.h')
-rw-r--r-- | gst/avi/gstavidemux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/avi/gstavidemux.h b/gst/avi/gstavidemux.h index a4324de4..6c083613 100644 --- a/gst/avi/gstavidemux.h +++ b/gst/avi/gstavidemux.h @@ -82,6 +82,9 @@ typedef struct { guint64 total_bytes; guint32 total_frames; + /* stream length according to index */ + GstClockTime idx_duration; + guint64 *indexes; } avi_stream_context; |