Skip to content

Commit

Permalink
[DVDDemuxer] Don't set the language as the stream name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ace20022 committed Mar 18, 2013
1 parent d3722b9 commit d54456c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions xbmc/cores/dvdplayer/DVDDemuxers/DVDDemux.cpp
Expand Up @@ -20,7 +20,6 @@

#include "DVDDemux.h"
#include "DVDCodecs/DVDCodecs.h"
#include "utils/LangCodeExpander.h"

void CDemuxStreamTeletext::GetStreamInfo(std::string& strInfo)
{
Expand Down Expand Up @@ -168,14 +167,7 @@ CDemuxStreamTeletext* CDVDDemux::GetStreamFromTeletextId(int iTeletextIndex)

void CDemuxStream::GetStreamName( std::string& strInfo )
{
if( language[0] == 0 )
strInfo = "";
else
{
CStdString name;
g_LangCodeExpander.Lookup( name, language );
strInfo = name;
}
strInfo = "";
}

AVDiscard CDemuxStream::GetDiscard()
Expand Down

0 comments on commit d54456c

Please sign in to comment.