aboutsummaryrefslogtreecommitdiffstats
path: root/main/omxplayer/fix-dbus-dispatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/omxplayer/fix-dbus-dispatch.patch')
-rw-r--r--main/omxplayer/fix-dbus-dispatch.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/omxplayer/fix-dbus-dispatch.patch b/main/omxplayer/fix-dbus-dispatch.patch
new file mode 100644
index 0000000000..ef732c5094
--- /dev/null
+++ b/main/omxplayer/fix-dbus-dispatch.patch
@@ -0,0 +1,13 @@
+diff --git a/OMXControl.cpp b/OMXControl.cpp
+index 0ef8e5f..834461f 100644
+--- a/OMXControl.cpp
++++ b/OMXControl.cpp
+@@ -88,7 +88,7 @@ int OMXControl::init(OMXClock *m_av_clock, OMXPlayerAudio *m_player_audio, OMXPl
+ void OMXControl::dispatch()
+ {
+ if (bus)
+- dbus_connection_read_write_dispatch(bus, 0);
++ dbus_connection_read_write(bus, 0);
+ }
+
+ int OMXControl::dbus_connect(std::string& dbus_name)