]> git.sesse.net Git - nageru/commitdiff
Remove the zerocopy warnings.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 21 Jul 2022 23:00:47 +0000 (01:00 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 21 Jul 2022 23:00:47 +0000 (01:00 +0200)
It's unlikely that the user will be able to glean meaningful information
from this.

nageru/quicksync_encoder.cpp

index 9a6bd6d9bf2095f02fd79934590624b77875058e..3e53cf38c9ce6b0d675f8424bbdde0cb78349e61 100644 (file)
@@ -714,13 +714,10 @@ void QuickSyncEncoderImpl::enable_zerocopy_if_possible()
                // Quick Sync is entirely disabled.
                use_zerocopy = false;
        } else if (global_flags.x264_video_to_http) {
-               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --http-x264-video.\n");
                use_zerocopy = false;
        } else if (global_flags.av1_video_to_http) {
-               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --http-av1-video.\n");
                use_zerocopy = false;
        } else if (!global_flags.v4l_output_device.empty()) {
-               fprintf(stderr, "Disabling zerocopy H.264 encoding due to --v4l-output.\n");
                use_zerocopy = false;
        } else {
                use_zerocopy = true;