mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
mp4adepay: small logging cleanup and addition to debug config parsing
This commit is contained in:
parent
fbab577ab8
commit
d569cd8195
1 changed files with 3 additions and 1 deletions
|
@ -216,8 +216,10 @@ gst_rtp_mp4a_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
|
|||
if (sr_idx < G_N_ELEMENTS (aac_sample_rates)) {
|
||||
gst_caps_set_simple (srccaps,
|
||||
"rate", G_TYPE_INT, (gint) aac_sample_rates[sr_idx], NULL);
|
||||
GST_DEBUG_OBJECT (depayload, "sampling rate from stream-config %u",
|
||||
aac_sample_rates[sr_idx]);
|
||||
} else {
|
||||
GST_WARNING ("Invalid sample rate index %u", sr_idx);
|
||||
GST_WARNING_OBJECT (depayload, "Invalid sample rate index %u", sr_idx);
|
||||
}
|
||||
|
||||
/* ignore remaining bit, we're only interested in full bytes */
|
||||
|
|
Loading…
Reference in a new issue