mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-25 12:23:59 +00:00
updated mythtv for encoder
This commit is contained in:
parent
d4597e0094
commit
315d466da8
@ -841,6 +841,7 @@ void myth_loop(void *enc_ctx)
|
||||
fatal (EXIT_NOT_ENOUGH_MEMORY, "Not enough memory.\n");
|
||||
saved=0;
|
||||
|
||||
memset(&dec_sub, 0, sizeof(dec_sub));
|
||||
while (!processed_enough && (rc=mpegps_read_packet ())==0)
|
||||
{
|
||||
position_sanity_check();
|
||||
@ -902,6 +903,11 @@ void myth_loop(void *enc_ctx)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (dec_sub.got_output)
|
||||
{
|
||||
encode_sub(enc_ctx,&dec_sub);
|
||||
dec_sub.got_output = 0;
|
||||
}
|
||||
}
|
||||
if (desp)
|
||||
free (desp);
|
||||
|
Loading…
Reference in New Issue
Block a user