From 76060763c31a9ac238aa74b8e559fdae9a72be3d Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 13 Dec 2010 14:31:22 +0000 Subject: Handle BD_EVENT_SEEK: reset stream Handle BD_EVENT_ENCRYPTED --- xine/BluRay/input_bluray.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 962235d7..2ee39c2a 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -331,8 +331,20 @@ static void handle_libbluray_event(bluray_input_plugin_t *this, BD_EVENT ev) this->error = 1; return; + case BD_EVENT_ENCRYPTED: + lprintf("BD_EVENT_ENCRYPTED\n"); + _x_message (this->stream, XINE_MSG_ENCRYPTED_SOURCE, + "Media stream scrambled/encrypted", NULL); + this->error = 1; + return; + /* playback control */ + case BD_EVENT_SEEK: + lprintf("BD_EVENT_SEEK\n"); + stream_reset(this); + break; + case BD_EVENT_STILL: LOGMSG("BD_EVENT_STILL %d\n", ev.param); break; -- cgit v1.2.3