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:
Mohammed Hassan
2015-07-28 15:38:16 +03:00
committed by Martin Jones
parent 3ae638fdea
commit 770e009cff

View File

@@ -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(