Commit d4ee3d50 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

bluray: handle BD_EVENT_IDLE

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a799b4d6
......@@ -1506,6 +1506,11 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
/* reset demuxer (partially decoded PES packets must be dropped) */
blurayResetParser(p_demux);
break;
case BD_EVENT_IDLE:
/* nothing to do (ex. BD-J is preparing menus, waiting user input or running animation) */
/* avoid busy loop (bd_read() returns no data) */
msleep( 40000 );
break;
default:
msg_Warn(p_demux, "event: %d param: %d", e->event, e->param);
......
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