mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
camerabin: Add viewfinder colorspace conversion to default flags
This make the default settings more likely to work. If needed, one can optimize by disabling conversions with the flags.
This commit is contained in:
parent
5edd64eec6
commit
f4d6e03b9b
1 changed files with 3 additions and 2 deletions
|
@ -210,9 +210,10 @@ static guint camerabin_signals[LAST_SIGNAL];
|
||||||
|
|
||||||
#define DEFAULT_FLAGS GST_CAMERABIN_FLAG_SOURCE_RESIZE | \
|
#define DEFAULT_FLAGS GST_CAMERABIN_FLAG_SOURCE_RESIZE | \
|
||||||
GST_CAMERABIN_FLAG_VIEWFINDER_SCALE | \
|
GST_CAMERABIN_FLAG_VIEWFINDER_SCALE | \
|
||||||
GST_CAMERABIN_FLAG_AUDIO_CONVERSION | \
|
GST_CAMERABIN_FLAG_VIEWFINDER_COLOR_CONVERSION | \
|
||||||
GST_CAMERABIN_FLAG_IMAGE_COLOR_CONVERSION | \
|
GST_CAMERABIN_FLAG_IMAGE_COLOR_CONVERSION | \
|
||||||
GST_CAMERABIN_FLAG_VIDEO_COLOR_CONVERSION
|
GST_CAMERABIN_FLAG_VIDEO_COLOR_CONVERSION | \
|
||||||
|
GST_CAMERABIN_FLAG_AUDIO_CONVERSION
|
||||||
|
|
||||||
/* Using "bilinear" as default zoom method */
|
/* Using "bilinear" as default zoom method */
|
||||||
#define CAMERABIN_DEFAULT_ZOOM_METHOD 1
|
#define CAMERABIN_DEFAULT_ZOOM_METHOD 1
|
||||||
|
|
Loading…
Reference in a new issue