[vlmc-devel] VLCMediaPlayer: Let's be pedantic about what a boolean is
Hugo Beauzée-Luyssen
git at videolan.org
Sat Feb 8 00:47:06 CET 2014
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb 7 20:11:53 2014 +0200| [aa38d534ac9948bdbc5a7053189903dffa7c3032] | committer: Hugo Beauzée-Luyssen
VLCMediaPlayer: Let's be pedantic about what a boolean is
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=aa38d534ac9948bdbc5a7053189903dffa7c3032
---
src/LibVLCpp/VLCMediaPlayer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/LibVLCpp/VLCMediaPlayer.cpp b/src/LibVLCpp/VLCMediaPlayer.cpp
index d8f234f..87c51c6 100644
--- a/src/LibVLCpp/VLCMediaPlayer.cpp
+++ b/src/LibVLCpp/VLCMediaPlayer.cpp
@@ -300,7 +300,7 @@ MediaPlayer::nextFrame()
bool
MediaPlayer::hasVout()
{
- return libvlc_media_player_has_vout( m_internalPtr );
+ return libvlc_media_player_has_vout( m_internalPtr ) > 0;
}
const QString&
More information about the Vlmc-devel
mailing list