From c6bdb65c0894a8035283d4aea6ab0aa2f08a85a4 Mon Sep 17 00:00:00 2001 From: phintuka Date: Thu, 9 Dec 2010 12:47:18 +0000 Subject: bluray:/ is played by cDvdPlayer (no dedicated player yet) --- media_player.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media_player.c b/media_player.c index 298c268f..89d0546e 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.82 2010-12-09 12:30:11 phintuka Exp $ + * $Id: media_player.c,v 1.83 2010-12-09 12:47:18 phintuka Exp $ * */ @@ -1411,6 +1411,9 @@ cControl *CreateControl(cXinelibDevice *Dev, if (xc.IsDvdImage(Mrl)) return new cXinelibDvdPlayerControl(Mrl); + if (!strncmp(Mrl, "bluray:/", 8)) + return new cXinelibDvdPlayerControl(Mrl); + if (!strncmp(Mrl, "cdda:/", 6)) return new cXinelibPlayerControl(ShowMusic, Mrl); -- cgit v1.2.3