modifying the test code for 5 samples

This commit is contained in:
Diptanshu8 2017-06-21 11:33:40 +00:00
parent a7e2ac7686
commit a79bab670f

View File

@ -1,12 +1,12 @@
import ccextractorapi as cc import ccextractorapi as cc
import os
s = cc.api_init_options() s = cc.api_init_options()
cc.checking_configuration_file(s) cc.checking_configuration_file(s)
params = ['-parsePAT','/vagrant/ClosedCaptionEIA.ts']
params = ['/vagrant/DISNEY.ts']
for item in params: for item in params:
cc.api_add_param(s,str(item)) cc.api_add_param(s,str(item))
compile_ret = cc.compile_params(s,len(params)); 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); start_ret = cc.api_start(s);