summaryrefslogtreecommitdiff
path: root/test/ffmpeg_examiner_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-13 00:29:58 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-20 00:52:25 +0100
commit1285be7c748d5b982405011ade177a95d29da238 (patch)
tree9c9610414332bc31bb7a775b4559318e9f8f5af8 /test/ffmpeg_examiner_test.cc
parent38753d322e7bab87f98090b0724db656b89a9015 (diff)
Relax error handling when examining FFmpeg files (#2187).
Diffstat (limited to 'test/ffmpeg_examiner_test.cc')
-rw-r--r--test/ffmpeg_examiner_test.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ffmpeg_examiner_test.cc b/test/ffmpeg_examiner_test.cc
index 655fd1437..c460830fb 100644
--- a/test/ffmpeg_examiner_test.cc
+++ b/test/ffmpeg_examiner_test.cc
@@ -67,3 +67,12 @@ BOOST_AUTO_TEST_CASE (ffmpeg_examiner_probesize_test)
BOOST_CHECK_EQUAL (examiner->audio_streams()[1]->frame_rate(), 48000);
BOOST_CHECK_EQUAL (examiner->audio_streams()[1]->channels(), 5);
}
+
+
+/** Check that a file can be examined without error */
+BOOST_AUTO_TEST_CASE (ffmpeg_examiner_vob_test)
+{
+ auto content = make_shared<FFmpegContent>(TestPaths::private_data() / "bad.vob");
+ auto examiner = make_shared<FFmpegExaminer>(content);
+}
+