]> granicus.if.org Git - libvpx/commitdiff
vp9-rtc: Add postencode_drop control to sample encoder
authorMarco Paniconi <marpan@google.com>
Fri, 12 Mar 2021 17:54:03 +0000 (09:54 -0800)
committerMarco Paniconi <marpan@google.com>
Fri, 12 Mar 2021 17:54:59 +0000 (09:54 -0800)
Change-Id: I1c989f26b0a7b9239adf37df8d96776f33b89a8b

examples/vpx_temporal_svc_encoder.c

index 04212e5d7dfc563ea2b7214fbeb983e328fdd385..ad3e79c713af1bfc5d729fd8ec8e19171005eae0 100644 (file)
@@ -831,6 +831,7 @@ int main(int argc, char **argv) {
   } else if (strncmp(encoder->name, "vp9", 3) == 0) {
     vpx_svc_extra_cfg_t svc_params;
     memset(&svc_params, 0, sizeof(svc_params));
+    vpx_codec_control(&codec, VP9E_SET_POSTENCODE_DROP, 0);
     vpx_codec_control(&codec, VP9E_SET_DISABLE_OVERSHOOT_MAXQ_CBR, 0);
     vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed);
     vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3);