mplayer slowly starting because of AF_INET6

Bug #60473 reported by Sebastian Grössl
4
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mplayer

When playing a media file in mplayer from the network it pauses some time while these two lines are printed:
Resolving bla.com for AF_INET6...
Couldn't resolve name for AF_INET6: bla.com...

Since most networks currently (still) only use IPv4, it doesn't make sense to let the user wait for that dns query.
For this exact purpose mplayer has the following option (taken from the man page):
-prefer-ipv4 (network only)
Use IPv4 on network connections. Falls back on IPv6 automati‐
cally.

This option should be enabled by default in /etc/mplayer/mplayer.conf with the following line:
prefer-ipv4 = yes

Tags: ipv6
Revision history for this message
MoMaT (momat) wrote :

Moreover, in gmplayer this causes the raise of pop up window with "Couldn't resolve name for AF_INET6: bla.com..." message which is definitely not user friendly.

Modification of mplayer.conf as given above solves the problem.

Changed in mplayer:
status: Unconfirmed → Confirmed
Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

I'm not really sure this is a solution to the problem that the world is slow to switch over to IPv6. Ubuntu comes with IPv6 enabled per default. So should it's applications.

Changed in mplayer:
status: Confirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.