Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80321 - xine-lib doesn't find real codecs installed by win32codecs
Summary: xine-lib doesn't find real codecs installed by win32codecs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 04:55 UTC by Fabio Rossi
Modified: 2005-02-07 11:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
win32codecs.patch (win32codecs.patch,684 bytes, patch)
2005-02-01 04:56 UTC, Fabio Rossi
Details | Diff
win32codecs.patch (win32codecs.patch,646 bytes, patch)
2005-02-01 05:38 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2005-02-01 04:55:23 UTC
The xine-lib plugin to view real videos doesn't find the real codecs installed by media-libs/win32codecs. Infact the search path is

$ strings /usr/lib/xine/plugins/1.0.0/xineplug_decode_real.so | grep drv
/usr/lib/win32/drv3.so.6.0
drv2.so.6.0
drv4.so.6.0
/usr/local/RealPlayer8/Codecs/drv3.so.6.0
/usr/RealPlayer8/Codecs/drv3.so.6.0
/usr/lib/RealPlayer8/Codecs/drv3.so.6.0
/opt/RealPlayer8/Codecs/drv3.so.6.0
/usr/lib/RealPlayer9/users/Real/Codecs/drv3.so.6.0
/usr/lib64/RealPlayer8/Codecs/drv3.so.6.0
/usr/lib64/RealPlayer9/users/Real/Codecs/drv3.so.6.0

while the codecs are installed in /usr/lib/real. There are two solutions to this problem. The first solution is to patch xine-lib adding to the search path the dir used by the win32codecs package. The second solution is to make a symbolic link in /usr/lib/win32/ to real codecs in /usr/lib/real. I have created a patch to win32codecs-20050115.ebuild to solve the problem (following the second solution).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Fabio Rossi 2005-02-01 04:56:11 UTC
Created attachment 50118 [details, diff]
win32codecs.patch
Comment 2 Fabio Rossi 2005-02-01 05:38:17 UTC
Created attachment 50123 [details, diff]
win32codecs.patch

Cosmetic change
Comment 3 Chris White (RETIRED) gentoo-dev 2005-02-07 11:00:53 UTC
Fixed in cvs. Thanks for posting!