Skip to content
Snippets Groups Projects
Commit 05b936e5 authored by Jim's avatar Jim
Browse files

Make some admends to obs-source.h documentation

parent 8e81d8be
Branches
Tags
No related merge requests found
......@@ -73,7 +73,7 @@ extern "C" {
*
* When this is used, the video_render callback will automatically assign a
* 4x4 YUV->RGB matrix to the "color_matrix" parameter of the effect, or it can
* be overwritten with a custom value.
* be changed to a custom value.
*/
#define OBS_SOURCE_COLOR_MATRIX (1<<4)
......@@ -92,9 +92,9 @@ struct obs_source_info {
/**
* Type of source.
*
* OBS_SOURCE_INPUT for input sources,
* OBS_SOURCE_FILTER for filter sources, and
* OBS_SOURCE_TRANSITION for transition sources.
* OBS_SOURCE_TYPE_INPUT for input sources,
* OBS_SOURCE_TYPE_FILTER for filter sources, and
* OBS_SOURCE_TYPE_TRANSITION for transition sources.
*/
enum obs_source_type type;
......@@ -173,7 +173,7 @@ struct obs_source_info {
* draw handling as desired as well.
*
* If the source output flags do not include SOURCE_CUSTOM_DRAW, all
* a source needs to do is set the "output" parameter of the effect to
* a source needs to do is set the "image" parameter of the effect to
* the desired texture, and then draw. If the output flags include
* SOURCE_COLOR_MATRIX, you may optionally set the the "color_matrix"
* parameter of the effect to a custom 4x4 conversion matrix (by
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment