Skip to content
Snippets Groups Projects
Commit a1217548 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

ffmpeg: Don't trigger url_interrupt_cb on the first signal


Currently, the url_interrupt_cb callback will abort all IO
after the first received signal. This makes the output files
from e.g. the mov muxer to be unreadable if the transcode is
aborted with ctrl+c.

After this patch, the first signal cleanly breaks out of
the transcoding loop, but won't forcibly abort all IO.
After the second signal is received, the url_interrupt_cb
callback will abort all IO.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 8089b7fa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment