From 35bcb8d8b0bb62bd4e575b049437a0cd351028f9 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 2 Jul 2008 08:57:04 +0000 Subject: gst/matroska/matroska-demux.*: Don't set the segment duration to the duration from the Matroska header as this value ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset), (gst_matroska_demux_handle_src_query), (gst_matroska_demux_parse_info), (gst_matroska_demux_loop_stream_parse_id): * gst/matroska/matroska-demux.h: Don't set the segment duration to the duration from the Matroska header as this value could be wrong and is just informational. --- gst/matroska/matroska-demux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/matroska/matroska-demux.h') diff --git a/gst/matroska/matroska-demux.h b/gst/matroska/matroska-demux.h index c510e498..8b45f556 100644 --- a/gst/matroska/matroska-demux.h +++ b/gst/matroska/matroska-demux.h @@ -96,6 +96,7 @@ typedef struct _GstMatroskaDemux { /* keeping track of playback position */ GstSegment segment; gboolean segment_running; + gint64 duration; } GstMatroskaDemux; typedef struct _GstMatroskaDemuxClass { -- cgit