 +                # get next subtitles object
 +                sub = None
 +                for tmp in self.subs:
++                    #print "comparing serials %d and %d" % (tmp.getUserdata(), serial)
 +                    if tmp.getUserdata() == serial:
 +                        sub = tmp
 +                        break

     
     def addMedia(self, mInfo):
         """
@@ -530,30 +573,32 @@
         # First, wait for media discovery 
         if mInfo.poll():
             return True 
-        mInfo = mInfo.getMedia()
-        if mInfo.MIME:
-            self.media.append(mInfo)
+        mInfoMedia = mInfo.getMedia()
+        if mInfoMedia.MIME:
+            self.media.append(mInfoMedia)
             self.updateStreamWindow()
             #Set videoWidget sizes according to media standards

+
+#==============================================================================
+    def find_parsers(self):
+        """
+            finds all the parsers (from sample code from pygst), so we can
+            pipe non Kate streams
+        """
+
+        registry = gst.registry_get_default()
+        ret = {}
+        for f in registry.get_feature_list(gst.ElementFactory):
