mplayer doesn't start immediately
Bug #246675 reported by
MD
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mplayer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mplayer
Hi,
When I run mplayer on Video files it waits for a few seconds (around 5 sec) then it starts.
When I run it from command line I can see that the it has delay when the debug info says: "xscreensaver_
I am using mplayer for a long time but this only happens from today.
If you need more information please let me know
Related branches
Changed in mplayer: | |
status: | New → In Progress |
To post a comment you must log in.
Hi, disable: Could not find XScreenSaver window.
I confirm that behaviour on Hardy.
On my system, it seems to hang at
xscreensaver_
GNOME screensaver disabled
After strace-ing the process, i could find that it's waiting for a child process
which is, according to the 'ps' command :
sh -c dcop kdesktop KScreensaverIface isEnabled 2>/dev/null | sed 's/1/true/g' | grep true 2>/dev/null >/dev/null
In fact, i could confirm that launching manually this very command delays 5 sec before exiting on error (ERROR: Couldn't attach to DCOP server!).
I'm not sure why mplayer on Ubuntu should be concerned with dcop, as i run on the Gnome-based Ubuntu (having some KDE-related libraries installed, in order to use some KDE apps).
I'm unsure where the bug comes from, but there should be some testing on whether it's needed to run this dcop command, or, at least, run it in the background so it doesn't delay the starting on error.