Date: Sat, 8 Sep 2012 20:06:16 GMT From: Heath Nielson <heathn@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171473: [PATCH] multimedia/handbrake doesn't load dvdcss library Message-ID: <201209082006.q88K6GRv086813@red.freebsd.org> Resent-Message-ID: <201209082010.q88KA9F4040625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171473 >Category: ports >Synopsis: [PATCH] multimedia/handbrake doesn't load dvdcss library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 08 20:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Heath Nielson >Release: FreeBSD 9.1-PRERELEASE >Organization: >Environment: FreeBSD hershey.bar.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #18: Sun Aug 19 20:47:50 MDT 2012 root@hershey.bar.net:/usr/obj/usr/src/sys/HERSHEY amd64 >Description: Handbrake tries to dlopen libdvdcss.so.2. The library the libdvdcss pacakge installs is actually libdvdcss.so.3 so the call always fails and handbrake fails to properly read CSS-encoded DVDs. >How-To-Repeat: cd /usr/ports/multimedia/handbrake; make install Try to encode a CSS-encoded DVD. Garbled output is the result. >Fix: dlopen the correct library. Patch is attached. Patch attached with submission follows: --- build/contrib/libdvdread/libdvdread/src/dvd_input.c.orig 2012-09-06 18:23:47.000000000 -0600 +++ build/contrib/libdvdread/libdvdread/src/dvd_input.c 2012-09-06 18:24:10.000000000 -0600 @@ -291,7 +291,7 @@ #elif defined(__OS2__) #define CSS_LIB "dvdcss.dll" #else - #define CSS_LIB "libdvdcss.so.2" + #define CSS_LIB "libdvdcss.so.3" #endif dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209082006.q88K6GRv086813>