[rygel] gst-media-engine: Reset bus watch id



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]