summaryrefslogtreecommitdiff
path: root/src/playerid.h
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2015-10-06 15:06:23 +0200
committerMateusz Łukasik <mati75@linuxmint.pl>2015-10-06 15:06:23 +0200
commitcad53e4ce7061f8bc7d49c8123ca6fc6155c79fd (patch)
tree9da50be8116ad843a2f01441c1e65c4816e4927d /src/playerid.h
parentac1e595cfef357d7ef481dbbefb88996af72eb79 (diff)
Imported Upstream version 15.9.0~ds0
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: