Exemple #1
0
 def do_check(self):
     levelD = check.do_check(self, check.checkPlugin, 'level', 'level')
     audiotestD = check.do_check(self, check.checkPlugin, 'audiotestsrc',
         'audiotestsrc')
     volumeD = check.do_check(self, check.checkPlugin, 'volume', 'volume')
     dl = defer.DeferredList([levelD, audiotestD, volumeD])
     return dl
Exemple #2
0
 def do_check(self):
     levelD = check.do_check(self, check.checkPlugin, 'level', 'level')
     audiotestD = check.do_check(self, check.checkPlugin, 'audiotestsrc',
                                 'audiotestsrc')
     volumeD = check.do_check(self, check.checkPlugin, 'volume', 'volume')
     dl = defer.DeferredList([levelD, audiotestD, volumeD])
     return dl
Exemple #3
0
    def do_check(self):
        d = check.do_check(self, check.checkPlugin, 'schro', 'gst-plugins-bad')

        def check_schroenc_bug(result, component):
            if gstreamer.get_plugin_version('schro') == (1, 0, 7, 0):
                m = messages.Warning(
                    T_(N_("Version %s of the '%s' GStreamer plug-in "
                          "contains a bug.\n"), '1.0.7', 'schroenc'))
                m.add(T_(N_("The downstream components might stay hungry.\n")))
                m.add(T_(N_("The bug has been fixed during the transition of "
                            "'%s' to the '%s' plug-ins set. "
                            "Please upgrade '%s' to version %s, "
                            "which contains the fixed plug-in."),
                         'schroenc', 'gst-plugins-bad', 'schroenc', '0.10.14'))
                component.addMessage(m)
                return result
        return d.addCallback(check_schroenc_bug, self)
Exemple #4
0
    def do_check(self):
        d = check.do_check(self, check.checkPlugin, 'schro', 'gst-plugins-bad')

        def check_schroenc_bug(result, component):
            if gstreamer.get_plugin_version('schro') == (1, 0, 7, 0):
                m = messages.Warning(
                    T_(N_("Version %s of the '%s' GStreamer plug-in "
                          "contains a bug.\n"), '1.0.7', 'schroenc'))
                m.add(T_(N_("The downstream components might stay hungry.\n")))
                m.add(T_(N_("The bug has been fixed during the transition of "
                            "'%s' to the '%s' plug-ins set. "
                            "Please upgrade '%s' to version %s, "
                            "which contains the fixed plug-in."),
                         'schroenc', 'gst-plugins-bad', 'schroenc', '0.10.14'))
                component.addMessage(m)
                return result
        return d.addCallback(check_schroenc_bug, self)
Exemple #5
0
 def do_check(self):
     self.debug('running Theora check')
     from flumotion.worker.checks import encoder
     return check.do_check(self, encoder.checkTheora)
Exemple #6
0
 def do_check(self):
     self.debug('running Theora check')
     from flumotion.worker.checks import encoder
     return check.do_check(self, encoder.checkTheora)
Exemple #7
0
 def do_check(self):
     return check.do_check(self, check.checkPlugin, 'matroska',
                           'gst-plugins-good', (0, 10, 24))
Exemple #8
0
 def do_check(self):
     return check.do_check(self, check.checkPlugin, 'schro', 'schroedinger')
Exemple #9
0
 def do_check(self):
     return check.do_check(self, check.checkPlugin, "isomp4", "gst-plugins-ugly", (0, 10, 24))