libobs: Add 'initialize' callback to services

The 'initialize' callback is used before the encoders/output start up so
it can adjust encoder settings to required values if needed.

Also added the function 'obs_encoder_active' that returns true or false
depending on whether that encoder is active or not.
This commit is contained in:
jp9000
2014-06-16 21:29:11 -07:00
parent 85ee5d591b
commit 9b23914c37
7 changed files with 37 additions and 3 deletions

View File

@@ -41,7 +41,7 @@
*
* Reset to zero each major or minor version
*/
#define LIBOBS_API_PATCH_VER 0
#define LIBOBS_API_PATCH_VER 1
#define LIBOBS_API_VER ((LIBOBS_API_MAJOR_VER << 24) | \
(LIBOBS_API_MINOR_VER << 16) | \