]> granicus.if.org Git - handbrake/commitdiff
encavcodec: fix encoding with vp8 and vp8 encoders
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 11 Jun 2018 01:47:55 +0000 (18:47 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 11 Jun 2018 01:48:40 +0000 (18:48 -0700)
Was broken by the AMF merge

libhb/encavcodec.c

index 1e0db39a3a09715770de05de065fdd7523ed7c96..805365ac2b783a739643b79aee707befd9ff3af7 100644 (file)
@@ -101,12 +101,12 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job )
         case AV_CODEC_ID_VP8:
         {
             hb_log("encavcodecInit: VP8 encoder");
-            codec = avcodec_find_encoder_by_name("libvpx_vp8");
+            codec = avcodec_find_encoder_by_name("libvpx");
         } break;
         case AV_CODEC_ID_VP9:
         {
             hb_log("encavcodecInit: VP9 encoder");
-            codec = avcodec_find_encoder_by_name("libvpx_vp9");
+            codec = avcodec_find_encoder_by_name("libvpx-vp9");
         } break;
         case AV_CODEC_ID_H264:
         {