Esempio n. 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
Esempio n. 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
Esempio n. 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)
Esempio n. 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)
Esempio n. 5
0
 def do_check(self):
     self.debug('running Theora check')
     from flumotion.worker.checks import encoder
     return check.do_check(self, encoder.checkTheora)
Esempio n. 6
0
 def do_check(self):
     self.debug('running Theora check')
     from flumotion.worker.checks import encoder
     return check.do_check(self, encoder.checkTheora)
Esempio n. 7
0
 def do_check(self):
     return check.do_check(self, check.checkPlugin, 'matroska',
                           'gst-plugins-good', (0, 10, 24))
Esempio n. 8
0
 def do_check(self):
     return check.do_check(self, check.checkPlugin, 'schro', 'schroedinger')
Esempio n. 9
0
 def do_check(self):
     return check.do_check(self, check.checkPlugin, "isomp4", "gst-plugins-ugly", (0, 10, 24))