Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't check the physical ID when comparing streams, this way the
stream position can be reused across channel switches
  • Loading branch information
Jalle19 committed Jan 4, 2014
1 parent d764198 commit fdc5cb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xbmc/xbmc_stream_utils.hpp
Expand Up @@ -49,13 +49,14 @@ namespace ADDON
}

/**
* Compares this stream based on another stream
* Compares this stream based on another stream. It is considered
* equal as long as the codec matches.
* @param other
* @return
*/
inline bool operator==(const XbmcPvrStream &other) const
{
return iPhysicalId == other.iPhysicalId && iCodecId == other.iCodecId;
return iCodecId == other.iCodecId;
}

/**
Expand Down

0 comments on commit fdc5cb7

Please sign in to comment.