Permalink
Browse files

Merge pull request #4504 from FernetMenta/paplayer

paplayer: rewind stream after init (ffmpeg codec)
  • Loading branch information...
2 parents 29b2e53 + bb0fcb0 commit 42f30a24bceca95a6b1c7d4bc05b0a549905acf6 @t-nelson t-nelson committed Apr 4, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 xbmc/cores/paplayer/DVDPlayerCodec.cpp
@@ -193,7 +193,8 @@ bool DVDPlayerCodec::Init(const CStdString &strFile, unsigned int filecache)
return false;
}
- m_nDecodedLen = 0;
+ // rewind stream to beginning
+ Seek(0);
if (m_Channels == 0) // no data - just guess and hope for the best
m_Channels = 2;

0 comments on commit 42f30a2

Please sign in to comment.