From a79bab670f1cc55c2e13d94a1f9a54a44aef5d5e Mon Sep 17 00:00:00 2001 From: Diptanshu8 Date: Wed, 21 Jun 2017 11:33:40 +0000 Subject: [PATCH] modifying the test code for 5 samples --- linux/api_testing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/api_testing.py b/linux/api_testing.py index 14533ce6..f8b5350d 100644 --- a/linux/api_testing.py +++ b/linux/api_testing.py @@ -1,12 +1,12 @@ import ccextractorapi as cc +import os + s = cc.api_init_options() cc.checking_configuration_file(s) -params = ['-parsePAT','/vagrant/ClosedCaptionEIA.ts'] + +params = ['/vagrant/DISNEY.ts'] for item in params: cc.api_add_param(s,str(item)) compile_ret = cc.compile_params(s,len(params)); -#for item in xrange(cc.api_param_count(s)): -# params = cc.api_param(s,item) -# print item,params start_ret = cc.api_start(s);