diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-04-01 20:32:41 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-04-01 20:32:41 -0400 |
commit | 34a921c31b4be5290b8841fba6bb24ee1b309952 (patch) | |
tree | 3be87fcb717047739b8ddefac846ca2a047018ce /tests | |
parent | 90028d68fe4b522e8cde88e00d4ff374d53eb90a (diff) | |
download | gstreamer-plugins-bad-34a921c31b4be5290b8841fba6bb24ee1b309952.tar.gz |
audiomixer: Allow downstream caps with a non-default channel-mask
Instead of failing, take the downstream channel mask if the channel
count is 1.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/audiomixer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/audiomixer.c b/tests/check/elements/audiomixer.c index d758e75ee..b6235dce0 100644 --- a/tests/check/elements/audiomixer.c +++ b/tests/check/elements/audiomixer.c @@ -89,7 +89,8 @@ GST_START_TEST (test_filter_caps) filter_caps = gst_caps_new_simple ("audio/x-raw", "format", G_TYPE_STRING, GST_AUDIO_NE (F32), "layout", G_TYPE_STRING, "interleaved", - "rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1, NULL); + "rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1, + "channel-mask", GST_TYPE_BITMASK, 0x04, NULL); /* build pipeline */ pipeline = gst_pipeline_new ("pipeline"); |