On Tue, 7 Dec 2010, Yury V. Zaytsev wrote:
On Tue, 2010-12-07 at 17:31 +0100, Dag Wieers wrote:
Bad news, the current fontconfig support in mplayer requires fontconfig
2.4.2. So either we can patch the old fontconfig code back in, or we drop
fontconfig support for RHEL5, RHEL4 and RHEL3...
This depends on how much features from 2.4.2 vs. 2.4.1 are required.
Maybe it is possible to come up with patches similar to those I did for
cinelerra.
I worked around the problem for RHEL5. There was more than one problem.
- configure found a version < 2.4.2 and did not add -lfontconfig to
LD_FLAGS, even when explicitely enabling fontconfig support
- after fixing the above, there was one remaining undefined reference in
the build (and not in libfontconfig) which is due to a change between
2.4.1 and 2.4.2 (in fact the lack of that reference was a bug)
undefined reference to `FcFreeTypeQueryFace'
- I noticed that this reference was due to the internal SSA (subtitle)
implementation and since we have libssa for RHEL6 and RHEL5 I disabled
the internal SSA implementation. (--disable-ssa --disable-internal-ssa)
And that works... Please verify !
However, fontconfig is disabled on RHEL4 and RHEL3 unless we somehow can
fix the internal SSA implementation to not use FcFreeTypeQueryFace or have
a libssa build.
PS I thought this would be the last mplayer change needed, until I noticed
during tests that an mpeg2 stream (created from DVB in kaffeine) was not
playable with mplayer. (It did work in smplayer, but not very fluently)
Sigh...
--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
users mailing list
users@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users