Commit 1bc6c17f authored by Jerome Wu's avatar Jerome Wu

Add a custom message to mark the end of operation

parent b426683e
......@@ -135,6 +135,12 @@ void exit_program(int ret)
if (program_exit)
program_exit(ret);
/*
* Print an unique message here to detect
* end of operation in JavaScript.
*/
printf("FFMPEG_END\n");
exit(ret);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment