Skip to content

Commit

Permalink
vaapi: lock gfx context on pre-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Dec 11, 2015
1 parent ddf71d6 commit 1c43141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ long CDecoder::Release()
if (g_advancedSettings.CanLogComponent(LOGVIDEO))
CLog::Log(LOGDEBUG,"VAAPI::Release pre-cleanup");

CSingleLock lock1(g_graphicsContext);
Message *reply;
if (m_vaapiOutput.m_controlPort.SendOutMessageSync(COutputControlProtocol::PRECLEANUP,
&reply,
Expand Down

0 comments on commit 1c43141

Please sign in to comment.