From: Christian Marillat <maril...@debian.org>

They have changed in Debian.
---
 src/modules/avformat/vdpau.c |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/modules/avformat/vdpau.c b/src/modules/avformat/vdpau.c
index 7756cc0..c4ae33a 100644
--- a/src/modules/avformat/vdpau.c
+++ b/src/modules/avformat/vdpau.c
@@ -70,9 +70,16 @@ static int vdpau_init( producer_avformat self )
        if ( !vdpau_init_done )
        {
                int flags = RTLD_NOW;
-               object = dlopen( "/usr/lib64/libvdpau.so", flags );
+               object = dlopen( "/usr/lib/libvdpau.so", flags );
+#ifdef ARCH_X86_64
                if ( !object )
-                       object = dlopen( "/usr/lib/libvdpau.so", flags );
+                       object = dlopen( "/usr/lib64/libvdpau.so", flags );
+               if ( !object )
+                       object = dlopen( 
"/usr/lib/x86_64-linux-gnu/libvdpau.so.1", flags );
+#elif ARCH_X86
+               if ( !object )
+                       object = dlopen( 
"/usr/lib/i386-linux-gnu/libvdpau.so.1", flags );
+#endif
                if ( !object )
                        object = dlopen( "/usr/local/lib/libvdpau.so", flags );
                if ( object )
-- 
1.7.10.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to