Commit 8d34232d authored by François Grisez's avatar François Grisez

Makes MKVPlayer sends the EOF signal even if it loop mode is enabled

parent f6fdbb88
......@@ -2545,9 +2545,9 @@ static void player_process(MSFilter *f) {
if((!obj->players[0] || !f->outputs[0] || obj->players[0]->eot)
&& (!obj->players[1] || !f->outputs[1] || obj->players[1]->eot)) {
ms_filter_notify_no_arg(f, MS_PLAYER_EOF);
if(obj->loop_pause_interval < 0) {
ms_filter_notify_no_arg(f, MS_PLAYER_EOF);
obj->state = MSPlayerPaused;
} else {
obj->time_before_next_loop = obj->loop_pause_interval;
......
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