diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2011-01-11 11:48:38 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2011-01-11 11:48:38 +0200 |
commit | 0dc7c0821c13440320aa8e5b5aa7ea3438860221 (patch) | |
tree | 82f9b4ca48fefe9356014b2604aaf4548a4b6cb5 /tests | |
parent | e9cacad2712cb383cb13e04f46db837aca167c1c (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.cpp | 2 |
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()); |