ogg: add some more debug statements

This commit is contained in:
Wim Taymans 2010-10-29 11:47:53 +01:00 committed by Wim Taymans
parent ee303c441d
commit 6c14f6c970
2 changed files with 2 additions and 0 deletions

View file

@ -843,6 +843,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
* up. */
packet->b_o_s = gst_ogg_stream_packet_is_header (&pad->map, packet);
if (!packet->b_o_s) {
GST_DEBUG ("found non-header packet");
pad->map.have_headers = TRUE;
if (pad->start_time == GST_CLOCK_TIME_NONE) {
gint64 duration = gst_ogg_stream_get_packet_duration (&pad->map, packet);

View file

@ -1543,6 +1543,7 @@ setup_kate_mapper (GstOggStream * pad, ogg_packet * packet)
GST_LOG ("sample rate: %d", pad->granulerate_n);
pad->n_header_packets = GST_READ_UINT8 (data + 11);
GST_LOG ("kate header packets: %d", pad->n_header_packets);
if (pad->granulerate_n == 0)
return FALSE;