QtGStreamer  1.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Functions
QGst::Parse Namespace Reference

Functions

ElementPtr launch (const char *description)
 
ElementPtr launch (const char *argv[])
 
ElementPtr launch (const QString &description)
 

Detailed Description

Wrappers for the GstParse methods.

Note
The gst_parse_bin_from_description() method is available as QGst::Bin::fromDescription().

Function Documentation

ElementPtr QGst::Parse::launch ( const char *  description)

Creates a pipeline out of a pipeline description. The syntax is the same as the one used in the gst-launch tool.

Exceptions
QGlib::Errorwhen there was a problem creating the pipeline
Examples:
examples/appsink-src/main.cpp.

Definition at line 25 of file parse.cpp.

ElementPtr QGst::Parse::launch ( const char *  argv[])

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This function takes an array of strings, which are joined before they are parsed as a description. This is the function used by the gst-launch tool.

Exceptions
QGlib::Errorwhen there was a problem creating the pipeline

Definition at line 38 of file parse.cpp.

ElementPtr QGst::Parse::launch ( const QString &  description)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 38 of file parse.h.