osxaudiosink: Only fix up channels/layout for PCM caps while probing
authorArun Raghavan <git@arunraghavan.net>
Mon, 1 Dec 2014 15:02:04 +0000 (20:32 +0530)
committerArun Raghavan <git@arunraghavan.net>
Mon, 15 Dec 2014 05:49:52 +0000 (11:19 +0530)
commitdf610a7c18860378516c3c1187a47a385af8786b
tree9f3be9e663d4dac59826b05eb0e1c95899868f2e
parentbd1502862c3d7801cde20a925a4c5be787faf62d
osxaudiosink: Only fix up channels/layout for PCM caps while probing

It's unlikely that setting a channel layout will do much for AC3/DTS
streams. If we find at some point that it does make sense, we can
perform the structure copying unconditionally (i.e., the current code is
wrong, since AC3/DTS will get two structures now - one with the channel
layout, one without).

https://bugzilla.gnome.org/show_bug.cgi?id=740987
sys/osxaudio/gstosxaudiosink.c