Commit eedc399d authored by hpi1's avatar hpi1

Added HDMV_EVENT_IG_END

parent 726db79f
......@@ -965,6 +965,11 @@ int hdmv_vm_run(HDMV_VM *p, HDMV_EVENT *ev)
DEBUG(DBG_HDMV, "terminated with PC=%d\n", p->pc);
p->object = NULL;
ev->event = HDMV_EVENT_END;
if (p->ig_object) {
ev->event = HDMV_EVENT_IG_END;
}
return 0;
}
......
......@@ -30,7 +30,8 @@
typedef enum {
HDMV_EVENT_NONE = 0, /* no events */
HDMV_EVENT_END, /* end of program */
HDMV_EVENT_END, /* end of program (movie object) */
HDMV_EVENT_IG_END, /* end of program (interactive) */
HDMV_EVENT_TITLE, /* play title (from disc index) */
HDMV_EVENT_PLAY_PL, /* select playlist */
......
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