Bug 61062 - libxine-1.0.r3 is looking for RealMedia codecs in wrong places
Summary: libxine-1.0.r3 is looking for RealMedia codecs in wrong places
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 10:30 UTC by Sascha Blank
Modified: 2004-01-11 15:55 UTC (History)
0 users

See Also:


Attachments
file.diff (1.92 KB, patch)
2004-01-08 10:30 UTC, Sascha Blank
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Blank 2004-01-08 10:30:08 UTC
xine-lib-1-rc3a has the capability to load RealPlayer codecs at runtime to play
RealAudio and RealVideo files.  The search for these codecs is done in the
routine "init_class" in file "src/libreal/xine_decoder.c" (starting around line
568).

Unfortunately the search is done in places which one will not likely find on a
typical FreeBSD installation.  Thus the search will turn up no results and
"xine" will complain that it is therefore unable to play any RealAudio or
RealVideo files.

One can get around this problem by setting the "codec.real_codecs_path"
variable in "~/.xine/config" but that is cumbersome, especially when you have
to do this on a multiuser system as "xine" has no global configuration file
(yet).

The attached patch points the search to locations that are typical for the
FreeBSD filesystem hierarchy.  Now I can play both RealAudio and RealVideo
files with xine-0.9.23.  Copy the patch to
/usr/ports/multimedia/libxine/files/patch-src:libreal:xine_decoder.c and
rebuild the port.
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2004-01-08 11:49:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer.
Comment 2 MANTANI Nobutaka freebsd_committer freebsd_triage 2004-01-11 15:54:42 UTC
State Changed
From-To: open->closed

Committed, thanks!