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

Module flumotion.worker.checks.video09

Classes
BusResolution  

Exceptions
CheckProcError Utility error for element checker procedures

Function Summary
  _(str)
twisted.internet.defer.Deferred check1394()
Probe the firewire device.
twisted.internet.defer.Deferred checkMixerTracks(source_factory, device)
Probe the given GStreamer element factory with the given device for mixer tracks.
twisted.internet.defer.Deferred checkTVCard(device)
Probe the given device node as a TV card.
twisted.internet.defer.Deferred checkWebcam(device)
Probe the given device node as a webcam.
twisted.internet.defer.Deferred do_element_check(pipeline_str, element_name, check_proc)
Parse the given pipeline and set it to the given state.

Function Details

check1394()

Probe the firewire device.

Return a deferred firing a dictionary with width, height, and a pixel aspect ratio pair.
Returns:
twisted.internet.defer.Deferred

checkMixerTracks(source_factory, device)

Probe the given GStreamer element factory with the given device for mixer tracks. Return a deferred firing a human-readable device name and a list of mixer track labels.
Returns:
twisted.internet.defer.Deferred

checkTVCard(device)

Probe the given device node as a TV card. Return a deferred firing a human-readable device name, a list of channel names (Tuner/Composite/...), and a list of norms (PAL/NTSC/SECAM/...).
Returns:
twisted.internet.defer.Deferred

checkWebcam(device)

Probe the given device node as a webcam. Return a deferred firing a human-readable device name.
Returns:
twisted.internet.defer.Deferred

do_element_check(pipeline_str, element_name, check_proc)

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 Tue Dec 20 15:33:10 2005 http://epydoc.sf.net