[vlc-commits] dbus: Rework the main loop

Mirsal Ennaime git at videolan.org
Sat Feb 19 16:53:33 CET 2011


vlc | branch: master | Mirsal Ennaime <mirsal.ennaime at gmail.com> | Wed Jul 21 09:51:06 2010 +0200| [ce09c643a01676ad0f6a2022da0aefdab9960b9e] | committer: Mirsal Ennaime

dbus: Rework the main loop

 * use a poll() based model instead of msleep()
 * Use input events to detect when the input thread stops playback
 * Use an enum for mpris playback statuses instead of hardcoded values

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce09c643a01676ad0f6a2022da0aefdab9960b9e
---

 modules/control/dbus/dbus.c           |  707 ++++++++++++++++++++++++++++++---
 modules/control/dbus/dbus.h           |    2 +-
 modules/control/dbus/dbus_common.h    |   15 +-
 modules/control/dbus/dbus_player.c    |    3 +-
 modules/control/dbus/dbus_player.h    |    3 +-
 modules/control/dbus/dbus_root.c      |    3 +-
 modules/control/dbus/dbus_root.h      |    3 +-
 modules/control/dbus/dbus_tracklist.c |    3 +-
 modules/control/dbus/dbus_tracklist.h |    3 +-
 9 files changed, 681 insertions(+), 61 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=ce09c643a01676ad0f6a2022da0aefdab9960b9e


More information about the vlc-commits mailing list