diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-11-14 15:55:32 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-11-14 15:55:32 +0000 |
commit | 90ef72e564a9c2f5cb16f8ca679680e41507171f (patch) | |
tree | 9eaafc7858c60b04d3015291a7b5df13ff3c3bdf /gst/avi | |
parent | f8cb2ce5c3aa93d54ba6a6e989e169b74c5e640e (diff) |
gst/avi/gstavidemux.c: Disable init_frames delay timestamp adjustment, it does not seem to be needed at all. Fixes #3...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
Disable init_frames delay timestamp adjustment, it does not
seem to be needed at all. Fixes #369621.
Diffstat (limited to 'gst/avi')
-rw-r--r-- | gst/avi/gstavidemux.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index ed94fb21..fa0ca016 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -2051,15 +2051,21 @@ gst_avi_demux_massage_index (GstAviDemux * avi, { gst_avi_index_entry *entry; avi_stream_context *stream; - guint32 avih_init_frames; - guint32 init_frames; gint i; GList *one; + +#if 0 + guint32 avih_init_frames; + guint32 init_frames; GstFormat fmt = GST_FORMAT_TIME; +#endif gint64 delay = 0; GST_LOG_OBJECT (avi, "Starting index massage"); + /* the init_frames have no real meaning except to indicate how much + * audio preroll there is to fill up the audio device */ +#if 0 avih_init_frames = avi->avih->init_frames; /* init frames, add constant delay for each index entry */ @@ -2086,6 +2092,7 @@ gst_avi_demux_massage_index (GstAviDemux * avi, entry->ts += delay; } } +#endif GST_LOG_OBJECT (avi, "I'm now going to cut large chunks into smaller pieces"); |