Module | Gst |
In: |
gstreamer/src/rbgst.c
gstreamer/tests/misc.rb |
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. |
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.