Commit 6dbb3f1f authored by Mickaël Turnel's avatar Mickaël Turnel

Fix local player not calling eof callback asynchronously

parent 7334947d
......@@ -164,7 +164,7 @@ bool_t ms_media_player_open(MSMediaPlayer *obj, const char *filepath) {
return FALSE;
ms_filter_add_notify_callback(obj->player, _eof_filter_notify_cb, obj, TRUE);
ms_filter_add_notify_callback(obj->player, _eof_filter_notify_cb, obj, FALSE);
ms_filter_call_method(obj->player, MS_PLAYER_SET_LOOP, &obj->loop_interval);
obj->ticker = ms_ticker_new();
ms_ticker_set_name(obj->ticker, "Player");
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