mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
Small documentation updates
Original commit message from CVS: Small documentation updates
This commit is contained in:
parent
b5c170f42a
commit
713d471ddd
2 changed files with 17 additions and 1 deletions
2
TODO
2
TODO
|
@ -9,7 +9,7 @@ before changes are accepted.
|
|||
|
||||
target release ! description
|
||||
!
|
||||
? ! expose and API to query the supported seek formats/flags on
|
||||
0.4.1 ! expose and API to query the supported seek formats/flags on
|
||||
! pads, somthing like an extra arg to gst_pad_set_convert_function
|
||||
! and gst_pad_set_event_function with some function to query the
|
||||
! flags and formats. more ideas in docs/random/wtay/query_events
|
||||
|
|
16
gst/gst.c
16
gst/gst.c
|
@ -509,12 +509,28 @@ init_popt_callback (poptContext context, enum poptCallbackReason reason,
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_use_threads:
|
||||
* @use_threads: flag indicating threads should be used
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
void
|
||||
gst_use_threads (gboolean use_threads)
|
||||
{
|
||||
_gst_use_threads = use_threads;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_has_threads:
|
||||
*
|
||||
* Query if GStreamer has threads enabled.
|
||||
*
|
||||
* Returns: TRUE if threads are enabled.
|
||||
*/
|
||||
gboolean
|
||||
gst_has_threads (void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue