gst/avi/gstavidemux.*: More attempts to turn this into readable code.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 25 Aug 2006 16:21:37 +0000 (16:21 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 25 Aug 2006 16:21:37 +0000 (16:21 +0000)
commitbb82304826c6fc3e8bd919d79f15e794fe387b9c
tree4f46ccaaef5c5684c12bdf5461582608d3ebb55b
parentbccaea232becc7034cc43a9fca121b316a31f387
gst/avi/gstavidemux.*: More attempts to turn this into readable code.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
(gst_avi_demux_init), (gst_avi_demux_finalize),
(gst_avi_demux_reset), (gst_avi_demux_index_last),
(gst_avi_demux_index_next), (gst_avi_demux_index_entry_for_time),
(gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index),
(gst_avi_demux_stream_index), (gst_avi_demux_peek_tag),
(gst_avi_demux_next_data_buffer), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index),
(gst_avi_demux_calculate_durations_from_index),
(gst_avi_demux_stream_header_pull), (gst_avi_demux_do_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_loop),
(gst_avi_demux_chain), (gst_avi_demux_sink_activate),
(gst_avi_demux_change_state):
* gst/avi/gstavidemux.h:
More attempts to turn this into readable code.
Don't leak adapters.
Calculate duration according to index more efficiently.
Don't try to act like we drive the pipeline in chain mode.
ChangeLog
gst/avi/gstavidemux.c
gst/avi/gstavidemux.h