Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3649 from FernetMenta/stream

dvdplayer: fix failed to get stream message, lookup streams the same way...
  • Loading branch information...
commit 4398243fb8336ae8753a128fa84fa5cb700d92b0 2 parents 756598b + 46a4f92
@FernetMenta FernetMenta authored
View
3  xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -455,6 +455,9 @@ void CSelectionStreams::Update(CDVDInputStream* input, CDVDDemux* demuxer)
for(int i=0;i<count;i++)
{
CDemuxStream* stream = demuxer->GetStream(i);
+ /* skip streams with no type */
+ if (stream->type == STREAM_NONE)
+ continue;
/* make sure stream is marked with right source */
stream->source = source;
View
3  xbmc/cores/omxplayer/OMXPlayer.cpp
@@ -495,6 +495,9 @@ void COMXSelectionStreams::Update(CDVDInputStream* input, CDVDDemux* demuxer)
for(int i=0;i<count;i++)
{
CDemuxStream* stream = demuxer->GetStream(i);
+ /* skip streams with no type */
+ if (stream->type == STREAM_NONE)
+ continue;
/* make sure stream is marked with right source */
stream->source = source;
Please sign in to comment.
Something went wrong with that request. Please try again.