ksvideosrc: VIDEOPROCAMP support
I'd like to use ksvideosrc to stream from USB webcams. In my app I need to be able to set the camera properties defined in
PROPSET_VIDCAP_VIDEOPROCAMP (contrast, brightness, ...).
I've tried to modify
gstksvideodevice.c myself, adding the following lines to
LONG brightness = 8000; ks_object_set_property(priv->filter_handle, PROPSETID_VIDCAP_VIDEOPROCAMP, KSPROPERTY_VIDEOPROCAMP_BRIGHTNESS, &brightness, sizeof(brightness), NULL);
Unfortunaltely I always end up with a
ERROR_INSUFFICIENT_BUFFER coming from
Having this functionality in ksvideosrc seems kind of obvious to me, so I also wondered if anyone has tried this before already?
Kind regards, Dan