Commit f3f7bf12 authored by hpi1's avatar hpi1

updated HDMV_EVENT_PLAY_STOP: simply close current playlist

parent ca7a216a
......@@ -2035,12 +2035,8 @@ static void _process_hdmv_vm_event(BLURAY *bd, HDMV_EVENT *hev)
break;
case HDMV_EVENT_PLAY_STOP:
BD_DEBUG(DBG_BLURAY|DBG_CRIT, "HDMV_EVENT_PLAY_STOP: not tested !\n");
// stop current playlist
bd_seek(bd, (uint64_t)bd->title->packets * 192 - 1);
bd->st0.clip = NULL;
// resume suspended movie object
hdmv_vm_resume(bd->hdmv_vm);
_close_playlist(bd);
break;
case HDMV_EVENT_STILL:
......
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