Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dbus-connection.c issue #46
The file is correctly played anyway, but no hot-key action is enabled.
referenced this issue
Sep 3, 2013
Hello Sergio, thank you for the update.
Keyboard control now back, no console error messages, DVB Transport Streams seem to be ok on a short test, & interestingly I can now pause a http:// stream.
Alexis, it seems strange you see no improvement. Can you provide any further information?
pi@raspicam ~/downloads $ omxplayer -v
Stuttering playback was caused by error messages in the main loop preventing playback, which were caused by the keyboard errors.
Aiexis, it seems the launch script can't find the dbus-launch application. This is installed by default on raspbian so if you could locate it and change the command to the absolute path in the omxplayer script this should fix the problem (it's located at /usr/bin/dbus-launch on mine).
Ok, dbus-launch came from dbus-x11 so I'll be adding it to the deps.
On the other hand I'll try to make a debug build and analyze it with a profiler to have a look into the CPU usage. (don't know when, I'm kinda busy this week).
I'll also take a look at the CPU usage issue.
I suspect it is due to the polling nature of the main event loop which causes it. The more conventional asynchronous approach with timeouts would probably solve this although it would require a complete rewrite of how the main loop deals with events.