summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-04-16 16:44:42 +0200
committerJohns <johns98@gmx.net>2013-04-16 16:44:42 +0200
commit8f99f80d44dc410dfbc1e026425e7debd7345e27 (patch)
treee6ca132f40ce94c236b041602276c47ec72fb363 /Makefile
parentc0286b3ab4a0982000756fd32d607f50889ffe02 (diff)
downloadvdr-plugin-softhddevice-8f99f80d44dc410dfbc1e026425e7debd7345e27.tar.gz
vdr-plugin-softhddevice-8f99f80d44dc410dfbc1e026425e7debd7345e27.tar.bz2
Initial opengl support with va-api only.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fa415ef..a04c636 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,8 @@ OSS ?= 1
VDPAU ?= $(shell pkg-config --exists vdpau && echo 1)
# support VA-API video output modue
VAAPI ?= $(shell pkg-config --exists libva && echo 1)
+ # support glx output
+#OPENGL ?= $(shell pkg-config --exists gl glu && echo 1)
# screensaver disable/enable
SCREENSAVER ?= 1
# use ffmpeg libswresample
@@ -34,6 +36,7 @@ CONFIG += -DUSE_PIP # PIP support
#CONFIG += -DUSE_TS_VIDEO # build new ts video parser
#CONFIG += -DUSE_MPEG_COMPLETE # support only complete mpeg packets
#CONFIG += -DUSE_VDR_SPU # use VDR SPU decoder.
+#CONFIG += -DUSE_SOFTLIMIT # (tobe removed) limit the buffer fill
ifeq ($(ALSA),1)
CONFIG += -DUSE_ALSA
@@ -52,6 +55,15 @@ ifeq ($(VAAPI),1)
CONFIG += -DUSE_VAAPI
_CFLAGS += $(shell pkg-config --cflags libva-x11 libva)
LIBS += $(shell pkg-config --libs libva-x11 libva)
+ifeq ($(OPENGL),1)
+_CFLAGS += $(shell pkg-config --cflags libva-glx)
+LIBS += $(shell pkg-config --libs libva-glx)
+endif
+endif
+ifeq ($(OPENGL),1)
+CONFIG += -DUSE_GLX
+_CFLAGS += $(shell pkg-config --cflags gl glu)
+LIBS += $(shell pkg-config --libs gl glu)
endif
ifeq ($(SCREENSAVER),1)
CONFIG += -DUSE_SCREENSAVER