Gnash
0.8.11dev
|
Generalized Gstreamer utilities for pipeline configuration. More...
#include <GstUtil.h>
Static Public Member Functions | |
static GstElement * | get_audiosink_element () |
Returns a pointer to GstElement representing a user-configurable audio sink, or NULL if such a sink could not be created. More... | |
static bool | check_missing_plugins (GstCaps *caps) |
Check for missing plugins and try to install them if necessary. More... | |
Generalized Gstreamer utilities for pipeline configuration.
|
static |
Check for missing plugins and try to install them if necessary.
The installation, if applicable, will happen synchronously!
caps | Indicates the type of media to search for. |
References _, gnash::log_error(), and swfdec_gst_get_element_factory().
Referenced by gnash::media::gst::AudioDecoderGst::~AudioDecoderGst(), and gnash::media::gst::VideoDecoderGst::~VideoDecoderGst().
|
static |
Returns a pointer to GstElement representing a user-configurable audio sink, or NULL if such a sink could not be created.
get_audiosink_element() tries the following strategies to get an audiosink:
A pipeline description is specified in one of two ways in ~/.gnashrc:
References _, gnash::RcInitFile::getDefaultInstance(), gnash::RcInitFile::getGstAudioSink(), gnash::log_debug(), gnash::log_error(), and gnash::key::o.