* Overhaul of A/V sync with libavformat-based inputs. * Fix a major memory leak introduced in previous release. * Fixes to problems revealed by Coverity Scan static analysis. * Improved encoding presets. * melt can now be built without SDL with define MELT_NOSDL, which is handy for running it as a child process on Windows and OS X. * melt can now be signaled to quit, which also makes it more useful as a child process. - Rebase libmlt-0.8.2-vdpau.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmlt?expand=0&rev=19
25 lines
865 B
Diff
25 lines
865 B
Diff
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
|