Commit a3763c0f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

MediaPlayer: willPlay was removed in 4.0

parent 64e0df49
...@@ -413,6 +413,7 @@ public: ...@@ -413,6 +413,7 @@ public:
return libvlc_media_player_get_chapter_count(*this); return libvlc_media_player_get_chapter_count(*this);
} }
#if LIBVLC_VERSION_INT < LIBVLC_VERSION(4, 0, 0, 0)
/** /**
* Is the player able to play * Is the player able to play
* *
...@@ -422,6 +423,7 @@ public: ...@@ -422,6 +423,7 @@ public:
{ {
return libvlc_media_player_will_play(*this) != 0; return libvlc_media_player_will_play(*this) != 0;
} }
#endif
/** /**
* Get title chapter count * Get title chapter count
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment