Skip to content

Commit

Permalink
Enable video but without sound.
Browse files Browse the repository at this point in the history
  • Loading branch information
cc9cii committed May 23, 2014
1 parent 3718847 commit 367acd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/openmw/mwrender/videoplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,8 +970,13 @@ void VideoState::init(const std::string& resourceName)
MWBase::Environment::get().getSoundManager()->pauseSounds();

this->external_clock_base = av_gettime();
#ifdef WIN32
// FIXME: Need FFmpeg FLTP audio support for BIK video format
std::cout<<"Sound temporarily disabled for \""+resourceName+"\""<<std::endl;
#else
if(audio_index >= 0)
this->stream_open(audio_index, this->format_ctx);
#endif
if(video_index >= 0)
{
this->stream_open(video_index, this->format_ctx);
Expand Down Expand Up @@ -1080,11 +1085,6 @@ VideoPlayer::~VideoPlayer()

void VideoPlayer::playVideo(const std::string &resourceName)
{
#ifdef WIN32
// FIXME: Need FFmpeg FLTP audio support for BIK video format
std::cout<<"Temporarily disabled, did not play \""+resourceName+"\""<<std::endl;
return;
#endif
if(mState)
close();

Expand Down

0 comments on commit 367acd9

Please sign in to comment.