mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-02-03 23:59:31 +00:00
SIGTERM in general_loop
This commit is contained in:
parent
352283d0b6
commit
2ae3b8bca0
@ -539,6 +539,8 @@ void raw_loop (struct lib_ccx_ctx *ctx)
|
||||
|
||||
do
|
||||
{
|
||||
if (terminate_asap)
|
||||
break;
|
||||
|
||||
ret = general_getmoredata(ctx, &data);
|
||||
if(ret == CCX_EOF)
|
||||
@ -808,7 +810,8 @@ void general_loop(struct lib_ccx_ctx *ctx)
|
||||
end_of_file = 0;
|
||||
while (!end_of_file && is_decoder_processed_enough(ctx) == CCX_FALSE)
|
||||
{
|
||||
|
||||
if (terminate_asap)
|
||||
break;
|
||||
// GET MORE DATA IN BUFFER
|
||||
position_sanity_check(ctx->demux_ctx->infd);
|
||||
switch (stream_mode)
|
||||
|
Loading…
Reference in New Issue
Block a user