opdenkamp/xbmc — comment on commit 52af67a03b0288cf1a318012c1e0fd4b23030235
File:  line 0
By elupus:

This function should be corrected to use m_State to avoid blocking gui thread. It should probably also be changed to actually check for if the video has video streams instead of if one is currently open.