+2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * ext/theora/theoradec.c: (theora_dec_chain):
+ Fix broken code generation by gcc by swapping arguments.
+ * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
+ Fix \n in debug.
+
2005-01-10 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
* TODO:
packet.b_o_s = (packet.packetno == 0) ? 1 : 0;
packet.e_o_s = 0;
- GST_DEBUG_OBJECT (dec, "header=%d packetno=%d, outtime=%" GST_TIME_FORMAT,
- packet.packet[0], packet.packetno, GST_TIME_ARGS (outtime));
+ GST_DEBUG_OBJECT (dec, "outtime=%" GST_TIME_FORMAT " (%"
+ G_GUINT64_FORMAT ") header=0x%02x packetno=%d",
+ GST_TIME_ARGS (outtime), outtime,
+ (gint) packet.packet[0], packet.packetno);
/* switch depending on packet type */
if (packet.packet[0] & 0x80) {
if (add_one) {
outtime = GST_SECOND * theora_granule_time (&dec->state,
dec->granulepos);
+ GST_DEBUG_OBJECT (dec,
+ "Correcting output time to %" GST_TIME_FORMAT,
+ GST_TIME_ARGS (outtime));
}
} else if (dec->need_keyframe) {
GST_WARNING_OBJECT (dec, "dropping frame because we need a keyframe");
return FALSE;
GST_LOG_OBJECT (dec,
- "query %u: peer returned granulepos: %llu - we return %llu (format %u)\n",
+ "query %u: peer returned granulepos: %llu - we return %llu (format %u)",
query, granulepos, *value, *format);
return TRUE;
}