diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-07-28 08:21:27 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-07-28 08:21:27 +0000 |
commit | 332549280da9ee65eded73e7b01e5f6ce5465118 (patch) | |
tree | 2d93a8398002a8c3ae952b8354cbbd272fa3da5d /gst | |
parent | e83ba9fb704841c72dbc5852489d1c446cd02835 (diff) |
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
Diffstat (limited to 'gst')
-rw-r--r-- | gst/avi/gstavidemux.c | 9 | ||||
-rw-r--r-- | gst/avi/gstavidemux.h | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 4f758fb2..01b0de1b 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -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"); diff --git a/gst/avi/gstavidemux.h b/gst/avi/gstavidemux.h index 6006189d..0eeb2367 100644 --- a/gst/avi/gstavidemux.h +++ b/gst/avi/gstavidemux.h @@ -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 + \ |