Skip to content

Commit

Permalink
fix bad ifdex
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Dec 20, 2023
1 parent 0d695fe commit 07028dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/librssguard/gui/mediaplayer/libmpv/libmpvwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 07028dc

Please sign in to comment.