From 376075a6e6ffa9eb0e8d3c99c298fca6332095a0 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Mon, 16 Jul 2012 12:57:30 +0200 Subject: [PATCH] tests: avcenc: allow selection of display. Signed-off-by: Gwenole Beauchesne --- test/encode/avcenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/encode/avcenc.c b/test/encode/avcenc.c index 8314642..54761a5 100644 --- a/test/encode/avcenc.c +++ b/test/encode/avcenc.c @@ -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(); -- 2.7.4