Skip to content

Commit

Permalink
fixup: mvc build
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Mar 7, 2016
1 parent 27a0648 commit 02dad4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxMVC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,8 @@ double CDVDDemuxMVC::ConvertTimestamp(int64_t pts, int den, int num)
return timestamp * DVD_TIME_BASE;
}

std::vector<CDemuxStream*> CDVDDemuxMVC::GetStreams() const
{
std::vector<CDemuxStream*> streams;
return streams;
}
5 changes: 3 additions & 2 deletions xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxMVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ class CDVDDemuxMVC : public CDVDDemux
virtual bool SeekTime(int time, bool backwords = false, double* startpts = nullptr);
virtual void SetSpeed(int iSpeed) { };
virtual int GetStreamLength() { return 0; };
virtual CDemuxStream* GetStream(int iStreamId) { return nullptr; };
virtual int GetNrOfStreams() { return 1; };
virtual CDemuxStream* GetStream(int iStreamId) const override { return nullptr; };
virtual std::vector<CDemuxStream*> GetStreams() const override;
virtual int GetNrOfStreams() const override { return 1; };
virtual std::string GetFileName();

AVStream* GetAVStream();
Expand Down

0 comments on commit 02dad4c

Please sign in to comment.