[vlmc-devel] Media: Fix too broad HAVE_GUI section

Hugo Beauzée-Luyssen git at videolan.org
Fri Aug 19 11:53:57 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug 19 11:49:46 2016 +0200| [d8555a2746f9dec281f783b70d42b9a74cf28b99] | committer: Hugo Beauzée-Luyssen

Media: Fix too broad HAVE_GUI section

> https://code.videolan.org/videolan/vlmc/commit/d8555a2746f9dec281f783b70d42b9a74cf28b99
---

 src/Media/Media.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
index 4de46b5..15e2bf7 100644
--- a/src/Media/Media.cpp
+++ b/src/Media/Media.cpp
@@ -220,6 +220,7 @@ Media::snapshot()
 
     return m_snapshot.isNull() ? *Media::defaultSnapshot : m_snapshot;
 }
+#endif
 
 QSharedPointer<Clip>
 Media::loadSubclip( const QVariantMap& m )
@@ -240,4 +241,3 @@ Media::loadSubclip( const QVariantMap& m )
     emit subclipAdded( clip );
     return clip;
 }
-#endif



More information about the Vlmc-devel mailing list