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 authored and popcornmix committed Sep 20, 2015
1 parent 9725102 commit 536508e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
Expand Up @@ -658,6 +658,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 536508e

Please sign in to comment.