From: Steinar H. Gunderson Date: Thu, 21 Jul 2022 23:00:47 +0000 (+0200) Subject: Remove the zerocopy warnings. X-Git-Tag: 2.2.0~6 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=12d3775ea1effb650c4ac1330b682d217a7cdb66 Remove the zerocopy warnings. It's unlikely that the user will be able to glean meaningful information from this. --- diff --git a/nageru/quicksync_encoder.cpp b/nageru/quicksync_encoder.cpp index 9a6bd6d..3e53cf3 100644 --- a/nageru/quicksync_encoder.cpp +++ b/nageru/quicksync_encoder.cpp @@ -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;