mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
ogg: add some more debug statements
This commit is contained in:
parent
ee303c441d
commit
6c14f6c970
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue