summaryrefslogtreecommitdiff
path: root/test/ffmpeg_decoder_seek_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-06-03 22:55:44 +0200
committerCarl Hetherington <cth@carlh.net>2021-06-04 22:31:07 +0200
commit9f4cb3b340376d93be39dc97c2e0c631e9cf73c4 (patch)
tree9fae847281fbe1a0c674723f6eb36f19ebcd03d3 /test/ffmpeg_decoder_seek_test.cc
parenta498b8819ab431ecc2aac058b1aadb9e15d396ac (diff)
Fix errors when seeking FFmpeg for some formats.
The comments discuss this in a bit more depth, but basically we see errors from avcodec_send_packet after seek. ffplay etc. seem basically to ignore all errors from avcodec_send_packet, and I can't find a "proper" fix, so here's a half-way house hack: ignore some errors after seek. Nasty.
Diffstat (limited to 'test/ffmpeg_decoder_seek_test.cc')
-rw-r--r--test/ffmpeg_decoder_seek_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ffmpeg_decoder_seek_test.cc b/test/ffmpeg_decoder_seek_test.cc
index f8ce256cf..4dceae86b 100644
--- a/test/ffmpeg_decoder_seek_test.cc
+++ b/test/ffmpeg_decoder_seek_test.cc
@@ -100,4 +100,5 @@ BOOST_AUTO_TEST_CASE (ffmpeg_decoder_seek_test)
test ("boon_telly.mkv", frames);
test ("Sintel_Trailer1.480p.DivX_Plus_HD.mkv", frames);
test ("prophet_long_clip.mkv", { 15, 42, 999, 15 });
+ test ("dolby_aurora.vob", { 0, 125, 250, 41 });
}