diff options
-rw-r--r-- | media_player.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |