Get/set height of image source

Crawling

New Member
I am trying to get and set the height of an image source in the context of an image source but whenever I retrieve it, it seems like it is always some reference to the image itself and not the source. When I get the height, it is the height of the image and not what the current height of the source is. Does anyone know how to do this with obs_source_t or image_source?
 
Do you mean "image source in the context of a SCENE" - an image source scaled as part of a scene?

If so, you want the size of the scene-item that wraps the source as part of the scene. It determines the size, position, and visibility of the image source in that scene.
 
Top