]> git.sesse.net Git - nageru/commitdiff
Fix flag mismatches in the zerocopy diagnostics.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 19 Apr 2016 00:04:27 +0000 (02:04 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 19 Apr 2016 00:04:27 +0000 (02:04 +0200)
h264encode.cpp

index bb2de9c7a35b00d2d9ad188d20706e6e3da329c9..26922987620e9cfe07f186224dc4984c4a5bcef6 100644 (file)
@@ -987,10 +987,10 @@ static const char *rc_to_string(int rc_mode)
 void H264EncoderImpl::enable_zerocopy_if_possible()
 {
        if (global_flags.uncompressed_video_to_http) {
-               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --uncompressed_video_to_http.\n");
+               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --http-uncompressed-video.\n");
                use_zerocopy = false;
        } else if (global_flags.x264_video_to_http) {
-               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --x264_video_to_http.\n");
+               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --http-x264-video.\n");
                use_zerocopy = false;
        } else {
                use_zerocopy = true;