diff --git a/src/mediaplayer.h b/src/mediaplayer.h --- a/src/mediaplayer.h +++ b/src/mediaplayer.h @@ -62,11 +62,13 @@ unsigned int m_size; }; +#if (LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)) typedef Descriptions TitleDescriptions; typedef QSharedPointer SharedTitleDescriptions; typedef Descriptions ChapterDescriptions; typedef QSharedPointer SharedChapterDescriptions; +#endif class MediaPlayer : public QObject {