player: Logging fix for updated audio info
authorPhilippe Normand <philn@igalia.com>
Sat, 22 Dec 2018 17:39:44 +0000 (18:39 +0100)
committerPhilippe Normand <philn@igalia.com>
Sat, 22 Dec 2018 17:39:44 +0000 (18:39 +0100)
Bitrate was logged a second time instead of the max_bitrate.

gst-libs/gst/player/gstplayer.c

index b41a9a2..0c99153 100644 (file)
@@ -2265,7 +2265,7 @@ gst_player_audio_info_update (GstPlayer * self,
 
   GST_DEBUG_OBJECT (self, "language=%s rate=%d channels=%d bitrate=%d "
       "max_bitrate=%d", info->language, info->sample_rate, info->channels,
-      info->bitrate, info->bitrate);
+      info->bitrate, info->max_bitrate);
 }
 
 static GstPlayerStreamInfo *