Commit 10340e26 authored by hpi1's avatar hpi1

Added BD_EVENT_SEEK

parent 2dc74c85
......@@ -1785,11 +1785,16 @@ static void _process_hdmv_vm_event(BLURAY *bd, HDMV_EVENT *hev)
break;
case HDMV_EVENT_PLAY_PI:
//bd_seek_pi(bd, hev->param);
#if 0
_queue_event(bd, (BD_EVENT){BD_EVENT_SEEK, 0});
bd_seek_pi(bd, hev->param);
#else
DEBUG(DBG_BLURAY|DBG_CRIT, "HDMV_EVENT_PLAY_PI: not implemented\n");
#endif
break;
case HDMV_EVENT_PLAY_PM:
_queue_event(bd, (BD_EVENT){BD_EVENT_SEEK, 0});
bd_seek_mark(bd, hev->param);
break;
......
......@@ -473,7 +473,10 @@ typedef enum {
BD_EVENT_SECONDARY_VIDEO, /* 0 - disable, 1 - enable */
BD_EVENT_SECONDARY_VIDEO_SIZE, /* 0 - PIP, 0xf - fullscreen */
/* still */
/* HDMV VM or JVM seeked the stream. Next read() will return data from new position. */
BD_EVENT_SEEK,
/* still playback (pause) */
BD_EVENT_STILL, /* 0 - off, 1 - on */
} bd_event_e;
......
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