[MPlayer-users] Playing DASH streams / .mpd files

The Wanderer wanderer at fastmail.fm
Wed Mar 17 18:13:08 EET 2021


On 2021-03-17 at 11:01, Reimar Döffinger wrote:

> On 17 March 2021 14:09:14 CET, The Wanderer <wanderer at fastmail.fm>
> wrote:
> 
>> On 2021-03-17 at 06:31, Martin Simmons wrote:

>>> It is also a dependency on CentOS 7.9.2009, indirectly from libblueray:
>>> 
>>> $ /usr/bin/mplayer | head -n1
>>> MPlayer SVN-r37391-4.8.3 (C) 2000-2015 MPlayer Team
>>> $ env LD_DEBUG=files ldd /usr/bin/mplayer 2>&1 | grep -i libxml
>>>       6026:	file=libxml2.so.2 [0];  needed by /lib64/libbluray.so.1 [0]
>>>       6026:	file=libxml2.so.2 [0];  generating link map
>>> 	libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f0b7ad84000)
>>
>> Same here, with a locally-built copy from then-current SVN (plus
>> "internal" FFmpeg) this past October.
> 
> Ok ok, fair enough.
> That "just" leaves the practical problem that someone needs to write
> a configure check for libxml2.

It seemed like it should be straightforward enough; here's a trivial,
naive one, testing only for presence and linking (no version recency, et
cetera). It seems to work in my environment, as far as detecting the
presence of the library and getting the flags added to subsequent
compilation checks in the configure run without breaking other configure
checks that were previously passing, but I'm not sure how to properly
validate such a thing.

I wasn't at all sure where in the test order to put this. As written it
needs to go after the pkg-config check, but I don't see any obvious
ordering of the checks to base a decision on beyond that.

I'm running a compile test of the result now, but I have no reason to
expect that it would fail even if this is somehow broken, so it's just a
level of sanity validation.

Feedback would be appreciated.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-test-for-libxml2.diff
Type: text/x-diff
Size: 956 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20210317/f6be7bef/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20210317/f6be7bef/attachment-0001.sig>


More information about the MPlayer-users mailing list