fix bad ifdex

This commit is contained in:
Martin Rotter 2023-12-20 07:18:17 +01:00
parent 0d695fe488
commit 07028dc506
2 changed files with 7 additions and 3 deletions

View File

@ -27,6 +27,10 @@
# ENABLE_MEDIAPLAYER_QTMULTIMEDIA - Enable media player (QtMultimedia/ffmpeg implementation).
# ENABLE_MEDIAPLAYER_LIBMPV - Enable media player (libmpv implementation). Use "LibMPV_ROOT" variable to specify
# base libmpv directory.
# MEDIAPLAYER_FORCE_OPENGL - When libmpv media player is enabled, then this forces it to use
# its OpenGL renderer. This renderer is potentially faster, more modern
# and supports wider range of platforms. Legacy "window-based" renderer
# should be likely avoided in new codebases.
# ENABLE_COMPRESSED_SITEMAP - Set to "ON" if you want to enable support for "sitemap.xml.gz" format.
# This requires "zlib" library and if you want to use specific
# zlib location, then use "ZLIB_ROOT" variable, for example

View File

@ -35,14 +35,14 @@ class LibMpvWidget : public BASE_WIDGET {
mpv_handle* m_mpvHandle;
private slots:
#if defined(MEDIAPLAYER_LIBMPV_OPENGL)
void maybeUpdate();
protected:
virtual void initializeGL();
virtual void paintGL();
private slots:
void maybeUpdate();
private:
static void on_update(void* ctx);