Revert "format: Make pa_format_info_valid() stricter for PCM"
authorArun Raghavan <git@arunraghavan.net>
Fri, 29 Apr 2016 12:05:28 +0000 (17:35 +0530)
committerArun Raghavan <git@arunraghavan.net>
Fri, 29 Apr 2016 12:08:37 +0000 (17:38 +0530)
commitd1730ab65a5f769ef135e79f2d33a0a4ec47255e
tree020760283e92305edddbb8dd33424b8b9e155c2a
parentd2a6afcab31f9f8122200ce383fdd5479ca0ebd1
Revert "format: Make pa_format_info_valid() stricter for PCM"

This reverts commit 12a202c510dcacbd2b85fcc1170484eb16fef491.

This is needed for now to avoid a clash in clients using json-glib. The
commit added a call to json_object_get_type() in client code that didn't
exist before, and this breaks some apps like Rhythmbox and Totem. This
will be fixed in the future by possibly dropping json-c as a dep.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=95135
src/pulse/format.c