summaryrefslogtreecommitdiff
path: root/src/playerid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerid.h')
-rw-r--r--src/playerid.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/playerid.h b/src/playerid.h
index 4b94d1e..cc6a045 100644
--- a/src/playerid.h
+++ b/src/playerid.h
@@ -21,6 +21,17 @@
#include <QString>
+#if defined(MPV_SUPPORT) && defined(MPLAYER_SUPPORT)
+#define PLAYER_NAME "MPlayer/mpv"
+#else
+#ifdef MPV_SUPPORT
+#define PLAYER_NAME "mpv"
+#endif
+#ifdef MPLAYER_SUPPORT
+#define PLAYER_NAME "MPlayer"
+#endif
+#endif
+
class PlayerID
{
public: