ext/ogg/gstoggdemux.c: Fix compilation on mingw. Fixes #446972.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_read_chain):
Fix compilation on mingw. Fixes #446972.
This commit is contained in:
Wim Taymans 2007-06-13 09:01:32 +00:00
parent 2e541b29d4
commit 34dd1db5f3
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-06-13 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_read_chain):
Fix compilation on mingw. Fixes #446972.
2007-06-12 Wim Taymans <wim@fluendo.com>
Patches by: Thiago Sousa Santos <thiagossantos at gmail dot com>

View file

@ -2390,7 +2390,7 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain)
for (i = 0; i < chain->streams->len; i++) {
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
GST_LOG_OBJECT (ogg, "serial %08lx time %" GST_TIME_FORMAT, pad->serialno,
GST_LOG_OBJECT (ogg, "serial %08x time %" GST_TIME_FORMAT, pad->serialno,
GST_TIME_ARGS (pad->start_time));
if (pad->serialno == serial) {
@ -2409,7 +2409,7 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain)
/* the timestamp will be filled in when we submit the pages */
if (!pad->is_skeleton)
done &= (pad->start_time != GST_CLOCK_TIME_NONE);
GST_LOG_OBJECT (ogg, "done %08lx now %d", pad->serialno, done);
GST_LOG_OBJECT (ogg, "done %08x now %d", pad->serialno, done);
}
/* we read a page not belonging to the current chain: seek back to the