diff --git a/autotests/ffmpegextractortest.cpp b/autotests/ffmpegextractortest.cpp --- a/autotests/ffmpegextractortest.cpp +++ b/autotests/ffmpegextractortest.cpp @@ -48,6 +48,14 @@ QTest::addRow("Matroska Video") << QStringLiteral("mkv") << QStringLiteral("video/x-matroska"); + + QTest::addRow("Vorbis Video") + << QStringLiteral("ogv") + << QStringLiteral("video/ogg"); + + QTest::addRow("MPEG Transport") + << QStringLiteral("ts") + << QStringLiteral("video/mp2t"); } // only for testing of intrinsic video properties @@ -82,6 +90,10 @@ QTest::addRow("Matroska Video") << QStringLiteral("mkv") << QStringLiteral("video/x-matroska"); + + QTest::addRow("Vorbis Video") + << QStringLiteral("ogv") + << QStringLiteral("video/ogg"); } void ffmpegExtractorTest::testMetaData() @@ -94,6 +106,7 @@ SimpleExtractionResult result(testFilePath(QLatin1String("test"), fileType), mimeType); plugin.extract(&result); + QEXPECT_FAIL("Vorbis Video", "Not yet supported", Abort); QCOMPARE(result.properties().value(Property::Title).toString(), QStringLiteral("Title")); QCOMPARE(result.properties().value(Property::Copyright).toString(), QStringLiteral("Copyright")); QCOMPARE(result.properties().value(Property::Author).toString(), QStringLiteral("Author")); diff --git a/autotests/samplefiles/test.ogv b/autotests/samplefiles/test.ogv new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@