[vlc-commits] doc: libvlc: fix the Qt OpenGL sample compilation
Steve Lhomme
git at videolan.org
Tue Feb 11 12:00:14 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 11 11:53:19 2020 +0100| [73b03a5407d118e10766b59510178ffecbd58057] | committer: Steve Lhomme
doc: libvlc: fix the Qt OpenGL sample compilation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73b03a5407d118e10766b59510178ffecbd58057
---
doc/libvlc/QtGL/qtvlcwidget.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/libvlc/QtGL/qtvlcwidget.cpp b/doc/libvlc/QtGL/qtvlcwidget.cpp
index 59eca34fe8..ab94b3ade6 100644
--- a/doc/libvlc/QtGL/qtvlcwidget.cpp
+++ b/doc/libvlc/QtGL/qtvlcwidget.cpp
@@ -70,9 +70,9 @@ public:
if (!QOpenGLContext::supportsThreadedOpenGL())
return false;
- VLCVideo** that = static_cast<VLCVideo**>(data);
- (*that)->m_width = 0;
- (*that)->m_height = 0;
+ VLCVideo* that = static_cast<VLCVideo*>(*data);
+ that->m_width = 0;
+ that->m_height = 0;
return true;
}
More information about the vlc-commits
mailing list