mplayer slowly starting because of AF_INET6
Bug #60473 reported by
Sebastian Grössl
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/
prefer-ipv4 = yes
To post a comment you must log in.
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.