mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
qtdemux: print all debug for sound sample description v2
https://bugzilla.gnome.org/show_bug.cgi?id=663458
This commit is contained in:
parent
92ff8a9b09
commit
69b814546a
1 changed files with 11 additions and 5 deletions
|
@ -7182,11 +7182,17 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
stream->rate = qtfp.fp;
|
stream->rate = qtfp.fp;
|
||||||
stream->n_channels = QT_UINT32 (stsd_data + offset + 12);
|
stream->n_channels = QT_UINT32 (stsd_data + offset + 12);
|
||||||
|
|
||||||
GST_LOG_OBJECT (qtdemux, "samples/packet: %d",
|
GST_LOG_OBJECT (qtdemux, "Sound sample description Version 2");
|
||||||
stream->samples_per_packet);
|
GST_LOG_OBJECT (qtdemux, "sample rate: %g", stream->rate);
|
||||||
GST_LOG_OBJECT (qtdemux, "sample rate: %g", stream->rate);
|
GST_LOG_OBJECT (qtdemux, "n_channels: %d", stream->n_channels);
|
||||||
GST_LOG_OBJECT (qtdemux, "n_channels: %d", stream->n_channels);
|
GST_LOG_OBJECT (qtdemux, "bits/channel: %d",
|
||||||
|
QT_UINT32 (stsd_data + offset + 20));
|
||||||
|
GST_LOG_OBJECT (qtdemux, "format flags: %X",
|
||||||
|
QT_UINT32 (stsd_data + offset + 24));
|
||||||
|
GST_LOG_OBJECT (qtdemux, "bytes/packet: %d",
|
||||||
|
QT_UINT32 (stsd_data + offset + 28));
|
||||||
|
GST_LOG_OBJECT (qtdemux, "LPCM frames/packet: %d",
|
||||||
|
QT_UINT32 (stsd_data + offset + 32));
|
||||||
} else {
|
} else {
|
||||||
GST_WARNING_OBJECT (qtdemux, "unknown version %08x", version);
|
GST_WARNING_OBJECT (qtdemux, "unknown version %08x", version);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue