summaryrefslogtreecommitdiff
path: root/src/libreal/real_common.c
AgeCommit message (Collapse)Author
2008-01-28Fix a RealPlayer codec detection bug.Darren Salt
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-11-06Change how the RealPlayer codecs are detected.Darren Salt
* Use arrays and loops instead of chained if()s. This reduces code size a little. * Try to dlopen drvc.so instead of just checking for its existence. The old code could, for example, try to use a dir containing 32-bit libs on a 64-bit system. (Not that I'd expect this to happen, of course...)
2007-11-05Add another RealPlayer codecs path.Darren Salt
2007-10-08add lib64/real into the real codec pathsAnssi Hannula
I managed to miss one from my earlier patch, though I could've sworn I checked this. Add (prefix)/lib64/real into the real codec path list. It is encountered in the 64bit PLF Mandriva real-codecs package.
2007-09-16add two real codec search pathsAnssi Hannula
The attached patch to xine-lib adds two more real codec search paths. /usr/lib/real is encountered in PLF packages for Mandriva, and /usr/lib/RealPlayer10GOLD/codecs is encountered in RealPlayer package of Mandriva.
2007-06-06Fix RealPlayer codec detection and a nearby logging build failure. Both typos.Darren Salt
2007-04-25Fix real codec search pathsVille Skyttä
xine-lib 1.1.6 ends up looking for real codecs eg. in /usr/locallib/win32, /usr/locallib/codecs etc, there's a missing slash. The attached patch should fix it. More info: https://bugzilla.redhat.com/237743
2007-03-17Merge the two real binary codecs plugins in a single plugin that handles ↵Diego 'Flameeyes' Pettenò
both audio and video. CVS patchset: 8703 CVS date: 2007/03/17 15:45:37
2007-03-17Instead of relying on FreeBSD being the only system not having __environ ↵Diego 'Flameeyes' Pettenò
stderr ___brk_addr and __ctype_b, look for them during ./configure stage. Also check for alternatives, and check for compiler's weak aliasing support only if it's actually going to be used. CVS patchset: 8696 CVS date: 2007/03/17 06:11:30
2007-03-16Always pass alternate, and avoid checking for .6.0.Diego 'Flameeyes' Pettenò
CVS patchset: 8690 CVS date: 2007/03/16 22:49:16
2007-03-16Actually, drv3.so.6.0 is still needed to be checked for the Alpha codecs, ↵Diego 'Flameeyes' Pettenò
but as those are the oldest ones, check drvc.so for autodetection, only. CVS patchset: 8689 CVS date: 2007/03/16 22:46:49
2007-03-16Sigh, remove wrong paste.Diego 'Flameeyes' Pettenò
CVS patchset: 8687 CVS date: 2007/03/16 22:28:48
2007-03-16real_codecs_path has always to be declared.Diego 'Flameeyes' Pettenò
CVS patchset: 8686 CVS date: 2007/03/16 22:28:25
2007-03-16Don't check only for drv3.so.6.0, as that is not present for x86-64 or ↵Diego 'Flameeyes' Pettenò
PowerPC Real codecs. CVS patchset: 8685 CVS date: 2007/03/16 22:26:54
2007-03-16If REAL_CODEC_PATH is defined, use that as only default path, so that ↵Diego 'Flameeyes' Pettenò
distributions can reduce the code used in their packages, and limit the path where to load the drivers by default. CVS patchset: 8684 CVS date: 2007/03/16 22:14:57
2007-03-16Move the wrapper to open the real codecs in the common unit, and assume that ↵Diego 'Flameeyes' Pettenò
the alternative name is always the same with .6.0 at the end. Prefer the full name to the reduced one. CVS patchset: 8683 CVS date: 2007/03/16 21:37:58
2007-03-16Move autodetection of Real codecs path to the common code unit, and rewrite toDiego 'Flameeyes' Pettenò
a) minimise the number of stat() calls happening; b) support FreeBSD paths. CVS patchset: 8682 CVS date: 2007/03/16 20:45:21
2007-03-16For FreeBSD support, alias the __environ and stderr symbols, unavailable ↵Diego 'Flameeyes' Pettenò
there, to their equivalent symbols. This could be improved by adding a configure-time check for this. CVS patchset: 8681 CVS date: 2007/03/16 20:21:40
2007-03-16Move the __builtin functions in a different unit, and define them only on ↵Diego 'Flameeyes' Pettenò
Alpha as that's the only architecture for which the binary codecs available on MPlayer site are needing them. Newer versions needs not these symbols, and for safety, I'd rather avoid messing with the global namespace. CVS patchset: 8679 CVS date: 2007/03/16 20:02:33