faad: add some channel map debug
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Mar 2012 15:44:17 +0000 (16:44 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Mar 2012 15:44:17 +0000 (16:44 +0100)
ext/faad/gstfaad.c

index 8cae672261a4085f3585a3a08d86a8d9c121de6e..1db4229868c6d5376eb152e4b09bdfb2df0a94f3 100644 (file)
@@ -525,9 +525,9 @@ gst_faad_update_caps (GstFaad * faad, faacDecFrameInfo * info)
   if (gst_audio_get_channel_reorder_map (faad->channels, faad->aac_positions,
           faad->gst_positions, faad->reorder_map)) {
     for (i = 0; i < faad->channels; i++) {
+      GST_DEBUG_OBJECT (faad, "remap %d -> %d", i, faad->reorder_map[i]);
       if (faad->reorder_map[i] != i) {
         faad->need_reorder = TRUE;
-        break;
       }
     }
   }