gst/avi/gstavidemux.*: Whitespace fixes and more debug

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_massage_index):
* gst/avi/gstavidemux.h:
Whitespace fixes and more debug
This commit is contained in:
Stefan Kost 2006-07-28 08:21:27 +00:00
parent e83ba9fb70
commit 332549280d
3 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2006-07-28 Stefan Kost,,, <ensonic@users.sf.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_massage_index):
* gst/avi/gstavidemux.h:
Whitespace fixes and more debug
2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
* gst/autodetect/gstautoaudiosink.c:

View file

@ -1473,6 +1473,7 @@ gst_avi_demux_stream_index (GstAviDemux * avi,
return;
/* ERRORS */
no_index:
{
GST_ERROR_OBJECT (avi,
@ -1629,7 +1630,7 @@ done:
/**
* gst_avi_demux_peek_tag:
*
*
* Returns the tag and size of the next chunk
*/
@ -1658,7 +1659,7 @@ beach:
/**
* gst_avi_demux_next_data_buffer:
*
*
* Returns the offset and size of the next buffer
* Position is the position of the buffer (after tag and size)
*/
@ -2029,6 +2030,10 @@ gst_avi_demux_massage_index (GstAviDemux * avi,
entry = one->data;
memcpy (&avi->index_entries[i], entry, sizeof (gst_avi_index_entry));
avi->index_entries[i].index_nr = i;
GST_DEBUG ("Adding index entry %d for stream %d of size %u "
"at offset %" G_GUINT64_FORMAT " and time %" GST_TIME_FORMAT,
avi->index_entries[i].index_nr, entry->stream_nr, entry->size,
entry->offset, GST_TIME_ARGS (entry->ts));
}
GST_LOG_OBJECT (avi, "Freeing original index list");

View file

@ -39,7 +39,7 @@ G_BEGIN_DECLS
#define GST_IS_AVI_DEMUX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_AVI_DEMUX))
#define GST_AVI_DEMUX_MAX_STREAMS 16
#define GST_AVI_DEMUX_MAX_STREAMS 16
#define CHUNKID_TO_STREAMNR(chunkid) \
((((chunkid) & 0xff) - '0') * 10 + \