Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37811175
en ru br
ALT Linux repos
S:6.26.1-alt3
5.0: 0.2.5-alt4
4.1: 0.2.5-alt0.svn1045
4.0: 0.2.2-alt0.7

Group :: Video
RPM: mlt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libmlt-0.8.2-vdpau.patch
Download


Index: src/modules/avformat/vdpau.c
===================================================================
--- src/modules/avformat/vdpau.c.orig
+++ src/modules/avformat/vdpau.c
@@ -74,18 +74,7 @@ static int vdpau_init( producer_avformat
 	if ( !vdpau_init_done )
 	{
 		int flags = RTLD_NOW;
-		object = dlopen( "/usr/lib/libvdpau.so", flags );
-#ifdef ARCH_X86_64
-		if ( !object )
-			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 );
+		object = dlopen( "__VDPAU_SONAME__", flags );
 		if ( object )
 			vdpau_device_create_x11 = dlsym( object, "vdp_device_create_x11" );
 		else
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin