summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2011-01-11 11:48:38 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2011-01-11 11:48:38 +0200
commit0dc7c0821c13440320aa8e5b5aa7ea3438860221 (patch)
tree82f9b4ca48fefe9356014b2604aaf4548a4b6cb5 /tests
parente9cacad2712cb383cb13e04f46db837aca167c1c (diff)
Improve Bin::fromDescription.
* Use an enum as an argument for ghostUnlinkedPads. * Add QString overload.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/parsetest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/parsetest.cpp b/tests/auto/parsetest.cpp
index ef2433c..b1fcd42 100644
--- a/tests/auto/parsetest.cpp
+++ b/tests/auto/parsetest.cpp
@@ -58,7 +58,7 @@ void ParseTest::binFromDescriptionTest()
}
try {
- QGst::BinPtr bin = QGst::Bin::fromDescription("audiotestsrc ! audioconvert", false);
+ QGst::BinPtr bin = QGst::Bin::fromDescription("audiotestsrc ! audioconvert", QGst::Bin::NoGhost);
QVERIFY(!bin.isNull());
QVERIFY(bin->getStaticPad("src").isNull());
QVERIFY(bin->getStaticPad("sink").isNull());