]> git.sesse.net Git - nageru/commitdiff
Fix a warning wording in FFmpegCapture.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 7 Sep 2023 19:45:56 +0000 (21:45 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 7 Sep 2023 19:45:56 +0000 (21:45 +0200)
nageru/ffmpeg_capture.cpp

index 384ecdb67cc9400cbb82d000b1d352633e8d6a8e..79fba7b9ab4ebf4135e8e9f34c145e78a676e7b4 100644 (file)
@@ -657,7 +657,7 @@ bool FFmpegCapture::play_video(const string &pathname)
                        pathname, video_stream_index, audio_stream_index, subtitle_stream_index, audio_frame.get(), &audio_format, &audio_pts, &error);
                if (error) {
                        if (++consecutive_errors >= 100) {
-                               fprintf(stderr, "More than 100 consecutive video frames, aborting playback.\n");
+                               fprintf(stderr, "More than 100 consecutive error video frames, aborting playback.\n");
                                return false;
                        } else {
                                continue;