[rygel] gst-media-engine: Reset bus watch id
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] gst-media-engine: Reset bus watch id
- Date: Fri, 14 Nov 2014 22:46:57 +0000 (UTC)
commit 41b5921c6eb1a0391d0eaff05f86527b27fc25af
Author: Jens Georg <mail jensge org>
Date: Fri Nov 14 22:32:04 2014 +0100
gst-media-engine: Reset bus watch id
Signed-off-by: Jens Georg <mail jensge org>
.../gstreamer/rygel-gst-data-source.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/media-engines/gstreamer/rygel-gst-data-source.vala
b/src/media-engines/gstreamer/rygel-gst-data-source.vala
index 2444a7f..944ba82 100644
--- a/src/media-engines/gstreamer/rygel-gst-data-source.vala
+++ b/src/media-engines/gstreamer/rygel-gst-data-source.vala
@@ -80,6 +80,7 @@ internal class Rygel.GstDataSource : Rygel.DataSource, GLib.Object {
this.pipeline.set_state (State.NULL);
if (this.bus_watch_id != 0) {
Source.remove (this.bus_watch_id);
+ this.bus_watch_id = 0;
}
Idle.add ( () => { this.done (); return false; });
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]