mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
camerabin: example: make gst-camera use flags
Enable all convertion flags in gst-camera example app for safety. Fixes #603063
This commit is contained in:
parent
b8afa0cc3c
commit
55ad3f8816
1 changed files with 1 additions and 0 deletions
|
@ -545,6 +545,7 @@ me_gst_setup_pipeline (const gchar * imagepost, const gchar * videopost)
|
||||||
/* set properties */
|
/* set properties */
|
||||||
g_object_set (gst_camera_bin, "filename", filename->str, NULL);
|
g_object_set (gst_camera_bin, "filename", filename->str, NULL);
|
||||||
g_object_set (gst_camera_bin, "preview-caps", preview_caps, NULL);
|
g_object_set (gst_camera_bin, "preview-caps", preview_caps, NULL);
|
||||||
|
g_object_set (gst_camera_bin, "flags", 0xdf, NULL);
|
||||||
gst_caps_unref (preview_caps);
|
gst_caps_unref (preview_caps);
|
||||||
|
|
||||||
gst_videosrc = gst_element_factory_make (CAMERA_APP_VIDEOSRC, NULL);
|
gst_videosrc = gst_element_factory_make (CAMERA_APP_VIDEOSRC, NULL);
|
||||||
|
|
Loading…
Reference in a new issue