Commit 7772c611 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

structures: add libVLC version guards

parent d3bbaa20
......@@ -27,6 +27,7 @@
#include <string>
#include "common.hpp"
#include <vlc/libvlc_version.h>
//FIXME:
//Should we make the constructors private again and implement our own vector allocator?
......@@ -468,6 +469,7 @@ private:
std::string m_name;
};
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
///
/// \brief The TitleDescription class describes a title
///
......@@ -553,6 +555,7 @@ private:
int64_t m_duration, m_starttime;
std::string m_name;
};
#endif
} // namespace VLC
......
Markdown is supported
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