Deleting useless lines.
authorDavid Testé <soonum@gnu.org>
Mon, 29 Feb 2016 22:48:26 +0000 (23:48 +0100)
committerDavid Testé <soonum@gnu.org>
Mon, 29 Feb 2016 22:48:26 +0000 (23:48 +0100)
stream_2016/gstconf.py
stream_2016/libre-streamer.py

index 050200f1726aaf3ed9de9b2c0f2dd9ac8d2276e2..a48c8fcc7c353ac165e968ab59bd6eab70407b3f 100755 (executable)
@@ -309,7 +309,7 @@ class New_user_pipeline():
 
     def get_stream_state(self):
         print(self.streampipe.get_state(self))
-##        return self.streampipe.get_state()
+##[FIXME]        return self.streampipe.get_state()
         
     def set_filenames(self, string):
         """Sets filename and location for each sink."""
@@ -320,9 +320,6 @@ class New_user_pipeline():
         rename(AUDIO_DEFAULT, audio)
         rename(RAWVIDEO_DEFAULT, rawvideo)
         rename(STREAM_DEFAULT, stream)
-##        self.disksink_audio.set_property('location', audio)
-##        self.disksink_rawvideo.set_property('location', rawvideo)
-##        self.disksink_stream.set_property('location', stream)
 
 def get_gstreamer_bus():
     return bus
index eaad46d439d6cb82973187ca6a18f0ea09db3110..dce3bed283a8aa6884deb3da9c10edc84c6fd387 100755 (executable)
@@ -94,8 +94,6 @@ class Streamgui(object):
         self.speakerinfo_entry = Gtk.Entry()
         self.sessioninfo_label = Gtk.Label('Session name: ')
         self.sessioninfo_entry = Gtk.Entry()
-##        self.organisationinfo_label = Gtk.Label('Organisation name: ')
-##        self.organisationinfo_entry = Gtk.Entry()
 
         self.stream_button = Gtk.Button("Stream")
         self.stream_button.connect("clicked", self.on_stream_clicked)
@@ -105,11 +103,9 @@ class Streamgui(object):
         vbox_labels.pack_start(self.baseinfo_label, True, True, 0)
         vbox_labels.pack_start(self.speakerinfo_label, True, True, 0)
         vbox_labels.pack_start(self.sessioninfo_label, True, True, 0)
-##        vbox_labels.pack_start(self.organisationinfo_label, True, True, 0)
         vbox_entries.pack_start(self.baseinfo_entry_label, True, True, 0)
         vbox_entries.pack_start(self.speakerinfo_entry, True, True, 0)
         vbox_entries.pack_start(self.sessioninfo_entry, True, True, 0)
-##        vbox_entries.pack_start(self.organisationinfo_entry, True, True, 0)
         vbox_streaminfo.pack_start(self.stream_button, False, True, 15)
         hbox_time.pack_start(self.streamtime_label, False, False, 0)
         hbox_time.pack_start(self.streamtime_value, False, False, 0)
@@ -119,6 +115,7 @@ class Streamgui(object):
         hbox.pack_start(vbox_streaminfo, False, False, 0)
         vbox.pack_start(self.videowidget, True, True, 0)
         vbox.pack_start(hbox, False, True, 0)
+
         self.win.add(vbox)
         self.win.set_position(Gtk.WindowPosition.CENTER)
         self.win.show_all()
@@ -136,7 +133,6 @@ class Streamgui(object):
             imagesink = message.src
             imagesink.set_property('force-aspect-ratio', True)
             imagesink.set_window_handle(self.videowidget.get_property('window').get_xid())
-            
 
     def on_stream_clicked(self, widget):
 
@@ -180,7 +176,7 @@ class Streamgui(object):
         self.speakerinfo_entry.set_text('')
         self.sessioninfo_entry.set_text('')
 
-## Use threads to refresh the time elapsed sinc the begining of the stream??
+## Use threading module to refresh the time elapsed sinc the begining of the stream??
     def time_elapsed(self, widget):
         if self.pipel.stream_get_state() == 'PLAYING':
             pass