Gstreamer: correct signal name in CameraBinZoom::updateZoom

updateZoom() is supposed to notify the change in maximum digital zoom.
Instead of emitting "currentDigitalZoomChanged", it emits "maximum
OpticalZoomChanged" signal instead.
This commit is contained in:
Ratchanan Srirattanamet
2019-10-10 21:58:05 +07:00
parent d8f447c93a
commit aac3740909

View File

@@ -133,7 +133,7 @@ void CameraBinZoom::updateMaxZoom(GObject *o, GParamSpec *p, gpointer d)
CameraBinZoom *zoom = reinterpret_cast<CameraBinZoom *>(d); CameraBinZoom *zoom = reinterpret_cast<CameraBinZoom *>(d);
QMetaObject::invokeMethod(zoom, "maximumOpticalZoomChanged", QMetaObject::invokeMethod(zoom, "maximumDigitalZoomChanged",
Qt::QueuedConnection, Qt::QueuedConnection,
Q_ARG(qreal, zoomFactor)); Q_ARG(qreal, zoomFactor));
} }