Module Gst
In: gstreamer/src/rbgst.c
gstreamer/tests/misc.rb

Methods

Classes and Modules

Class Gst::AutoplugFactory
Class Gst::Bin
Class Gst::Caps
Class Gst::Clock
Class Gst::Element
Class Gst::ElementFactory
Class Gst::Format
Class Gst::IndexFactory
Class Gst::Object
Class Gst::Pad
Class Gst::PadTemplate
Class Gst::Plugin
Class Gst::PluginFeature
Class Gst::QueryType
Class Gst::Registry
Class Gst::SchedulerFactory
Class Gst::Type
Class Gst::TypeFactory

Constants

SECOND = INT2FIX (GST_SECOND)
MSECOND = INT2FIX (GST_MSECOND)
USECOND = INT2FIX (GST_USECOND)
NSECOND = INT2FIX (GST_NSECOND)
VERSION_MAJOR = INT2FIX (GST_VERSION_MAJOR)
VERSION_MINOR = INT2FIX (GST_VERSION_MINOR)
VERSION_MICRO = INT2FIX (GST_VERSION_MICRO)
BUILD_VERSION = rb_ary_new3(3, INT2FIX(GST_VERSION_MAJOR), INT2FIX(GST_VERSION_MINOR), INT2FIX(GST_VERSION_MICRO))   Constant: BUILD_VERSION GStreamer‘s build version.

Public Class methods

Class method: has_threads? Returns: true if GStreamer has threads enabled, false otherwise.

Class method: use_threads(state) state: a boolean state.

Instructs the core to turn on/off threading.

When threading is turned off, all thread operations such as mutexes and conditionals are turned into NOPs. Use this if you want absolute minimal overhead and you don‘t use any threads in the pipeline.

Returns: the provided boolean value.

Class method: version

Gets the version number of the GStreamer library, in an array of 3 fixnums, which represent major, minor and macro numbers.

     # Prints GStreamer version in a String 'major.minor.macro'
     p Gst.version.join('.')

Returns: an Array of 3 fixnums (major, minor and macro numbers).

[Validate]