Package flumotion :: Package worker :: Package checks :: Module video08
[show private | hide private]
[frames | no frames]

Module flumotion.worker.checks.video08

Function Summary
twisted.internet.defer.Deferred of flumotion.common.messages.Result check1394(id)
Probe the firewire device.
  check_ffmpegcolorspace_AYUV(id)
Check if the ffmpegcolorspace element converts AYUV.
twisted.internet.defer.Deferred do_element_check(pipeline_str, element_name, check_proc, state)
Parse the given pipeline and set it to the given state.

Function Details

check1394(id=None)

Probe the firewire device.

Return a deferred firing a result.

The result is either:
  • succesful, with a None value: no device found
  • succesful, with a dictionary of width, height, and par as a num/den pair
  • failed
Returns:
twisted.internet.defer.Deferred of flumotion.common.messages.Result

check_ffmpegcolorspace_AYUV(id=None)

Check if the ffmpegcolorspace element converts AYUV. This was added in gst-plugins 0.8.5

do_element_check(pipeline_str, element_name, check_proc, state=<enum GST_STATE_READY of type GstState>)

Parse the given pipeline and set it to the given state. When the bin reaches that state, perform the given check function on the element with the given name. Return a deferred that will fire the result of the given check function, or a failure.
Parameters:
pipeline_str - description of the pipeline used to test
element_name - name of the element being checked
check_proc - a function to call with the GstElement as argument.
Returns:
a deferred that will fire with the result of check_proc, or fail.
           (type=twisted.internet.defer.Deferred)

Generated by Epydoc 2.1 on Wed Sep 13 13:38:37 2006 http://epydoc.sf.net