Skip to content

Commit

Permalink
Revert "[m3u8/airplay] - strip off any url options before checking fo…
Browse files Browse the repository at this point in the history
…r m3u8 filename - fixes stream quality selection (e.x. for airplay ^^)"

This reverts commit ad51187.
  • Loading branch information
Memphiz committed Apr 12, 2013
1 parent 85b20d6 commit fe4dffd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Expand Up @@ -85,7 +85,6 @@
#include "utils/StringUtils.h"
#include "Util.h"
#include "LangInfo.h"
#include "URL.h"

using namespace std;
using namespace PVR;
Expand Down Expand Up @@ -570,7 +569,7 @@ bool CDVDPlayer::OpenInputStream()
CLog::Log(LOGNOTICE, "Creating InputStream");

// correct the filename if needed
CStdString filename = CURL(m_filename).GetFileName();// strip off any url options
CStdString filename(m_filename);
if (filename.Find("dvd://") == 0
|| filename.CompareNoCase("iso9660://video_ts/video_ts.ifo") == 0)
{
Expand Down

0 comments on commit fe4dffd

Please sign in to comment.