osxaudiosink: fix segfault when we can't get the channels layout

This commit is contained in:
Andoni Morales Alastruey 2013-11-07 00:51:12 +01:00
parent 111982de28
commit 619f4f5c5a

View file

@ -371,8 +371,9 @@ gst_core_audio_audio_device_get_channel_layout (AudioDeviceID device_id)
}
}
beach:
gst_core_audio_dump_channel_layout (layout);
beach:
return layout;
failed: