summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-29 13:43:12 +0100
committerJohns <johns98@gmx.net>2011-12-29 13:43:12 +0100
commitf1792644685a6ba8f8233ae5b5f4a3faab35a1a3 (patch)
tree0064467acea7d6fc8f4b0618b5920bba218e8d1c /softhddev.c
parent23300b0383286bf4628f679cbf7fccc65d713d9a (diff)
downloadvdr-plugin-softhddevice-f1792644685a6ba8f8233ae5b5f4a3faab35a1a3.tar.gz
vdr-plugin-softhddevice-f1792644685a6ba8f8233ae5b5f4a3faab35a1a3.tar.bz2
Fix bug: CodecVideoDecode destroys avpkt.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c
index 16bf21e..02e6674 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -44,7 +44,11 @@
static char BrokenThreadsAndPlugins; ///< broken vdr threads and plugins
+#ifdef USE_VDPAU
static char ConfigVdpauDecoder = 1; ///< use vdpau decoder, if possible
+#else
+#define ConfigVdpauDecoder 0 ///< no vdpau decoder configured
+#endif
//////////////////////////////////////////////////////////////////////////////
// Audio