]> granicus.if.org Git - libvpx/commitdiff
Enable vp8x encoder to recognize vp8 specific options
authorYaowu Xu <yaowu@google.com>
Wed, 23 Jun 2010 21:45:51 +0000 (14:45 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 23 Jun 2010 21:45:51 +0000 (14:45 -0700)
Change-Id: Ib309c8c0a6c7073b71f0e6d131028501cb241daf

ivfenc.c

index 1600e03715dd5d8ee87ed2419779a135cccfdf82..b7a9f2ece61d1573fc1fb30b8a83aca0ade8f2b5 100644 (file)
--- a/ivfenc.c
+++ b/ivfenc.c
@@ -758,7 +758,8 @@ int main(int argc, const char **argv_)
     /* Handle codec specific options */
 #if CONFIG_VP8_ENCODER
 
-    if (codec->iface == &vpx_codec_vp8_cx_algo)
+    if (codec->iface == &vpx_codec_vp8_cx_algo ||
+        codec->iface == &vpx_codec_vp8x_cx_algo)
     {
         ctrl_args = vp8_args;
         ctrl_args_map = vp8_arg_ctrl_map;