tests: avcenc: allow selection of display.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 16 Jul 2012 10:57:30 +0000 (12:57 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 16 Jul 2012 10:58:51 +0000 (12:58 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
test/encode/avcenc.c

index 8314642..54761a5 100644 (file)
@@ -1363,6 +1363,9 @@ int main(int argc, char *argv[])
     int mode_value;
     struct timeval tpstart,tpend; 
     float  timeuse;
+
+    va_init_display_args(&argc, argv);
+
     //TODO may be we should using option analytics library
     if(argc != 5 && argc != 6 && argc != 7) {
         show_help();