[dvblast-devel] biTStream
JULIAN GARDNER
joolzg at btinternet.com
Mon May 28 16:03:59 CEST 2012
What is the correct way to run multiple TS files through biTStream. Currently i do this
void processSingleFile( char *newFilename)
{
.....
memset(p_pids, 0, sizeof(p_pids));
for (i = 0; i < 8192; i++) {
p_pids[i].i_last_cc = -1;
psi_assemble_init( &p_pids[i].p_psi_buffer,
&p_pids[i].i_psi_buffer_used );
}
p_pids[PAT_PID].i_psi_refcount++;
processFile( newFilename);
for (i = 0; i < i_nb_sids; i++) {
free( pp_sids[i]->p_current_pmt);
free( pp_sids[i]);
}
free( pp_sids);
i_nb_sids = 0;
pp_sids = NULL;
}
The problem is that im only getting data for the 1st TS and not for ones after. What reset am i missing
joolz
More information about the dvblast-devel
mailing list