diff options
author | Diane Trout <diane@ghic.org> | 2015-11-04 21:53:37 -0800 |
---|---|---|
committer | Diane Trout <diane@ghic.org> | 2015-11-04 21:53:37 -0800 |
commit | af4edf4cb9d33aa210c2cd670f657b9020bb0eb3 (patch) | |
tree | a58873e2937fd1bd77ed69fcc249176a08bb03bc | |
parent | 02d48bb4550a5b81291bc45a27cad77b2dcdb784 (diff) |
By GStreamer 1.6 the audio-codec name for FLAC changed
from "Free Lossless Audio Codec (FLAC)" to "FLAC",
so we need to update to test for the shorter string.
-rw-r--r-- | tests/auto/discoverertest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/discoverertest.cpp b/tests/auto/discoverertest.cpp index 6fef794..84dd760 100644 --- a/tests/auto/discoverertest.cpp +++ b/tests/auto/discoverertest.cpp @@ -389,7 +389,7 @@ void DiscovererTest::setupDiscoveryData() << (StreamInfoList() << StreamInfoPtr((new AudioStreamInfo("audio/x-flac, framed=true")) ->setSampleRate(48000)->setChannels(1)->setDepth(16) - ->addTag("audio-codec", "Free Lossless Audio Codec (FLAC)") + ->addTag("audio-codec", "FLAC") ->addTag("container-format", "Ogg")) << StreamInfoPtr((new AudioStreamInfo("audio/x-flac")) ->setSampleRate(48000)->setChannels(1) @@ -402,7 +402,7 @@ void DiscovererTest::setupDiscoveryData() ->addTag("video-codec", "Theora"))) << (TagList() << makeTag("container-format", "Ogg") - << makeTag("audio-codec", "Free Lossless Audio Codec (FLAC)") + << makeTag("audio-codec", "FLAC") << makeTag("video-codec", "Theora") << makeTag("bitrate", 200000U)); QTest::newRow("numbers07.png") |