Mer: disable camerabin previews handling
Our camera source does not yet support generating previews thus enabling it without a proper support from the source leads to issues with processing counter and camerabin never reaching idle state.
This commit is contained in:
committed by
Martin Jones
parent
3ae638fdea
commit
770e009cff
@@ -173,7 +173,7 @@ CameraBinSession::CameraBinSession(GstElementFactory *sourceFactory, QObject *pa
|
||||
g_object_set(G_OBJECT(m_camerabin), "flags", envFlags.toInt(), NULL);
|
||||
|
||||
//post image preview in RGB format
|
||||
g_object_set(G_OBJECT(m_camerabin), POST_PREVIEWS_PROPERTY, TRUE, NULL);
|
||||
g_object_set(G_OBJECT(m_camerabin), POST_PREVIEWS_PROPERTY, FALSE, NULL);
|
||||
|
||||
#if GST_CHECK_VERSION(1,0,0)
|
||||
GstCaps *previewCaps = gst_caps_new_simple(
|
||||
|
||||
Reference in New Issue
Block a user