pad-monitor: 0.10 uses "channel-positions" field in audio caps

And it's an array, not a string
This commit is contained in:
Edward Hervey 2013-08-13 11:07:05 +02:00 committed by Thiago Santos
parent c8e2e3aa67
commit 5fcbf1026d

View file

@ -223,7 +223,7 @@ gst_qa_pad_monitor_check_raw_audio_caps_complete (GstQaPadMonitor * monitor,
GST_TYPE_LIST, GST_TYPE_INT_RANGE, 0); GST_TYPE_LIST, GST_TYPE_INT_RANGE, 0);
_check_field_type (monitor, structure, "endianness", G_TYPE_INT, _check_field_type (monitor, structure, "endianness", G_TYPE_INT,
GST_TYPE_LIST, 0); GST_TYPE_LIST, 0);
_check_field_type (monitor, structure, "channel-layout", G_TYPE_STRING, _check_field_type (monitor, structure, "channel-positions", GST_TYPE_ARRAY,
GST_TYPE_LIST, 0); GST_TYPE_LIST, 0);
} }