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:
@@ -133,7 +133,7 @@ void CameraBinZoom::updateMaxZoom(GObject *o, GParamSpec *p, gpointer d)
|
||||
|
||||
CameraBinZoom *zoom = reinterpret_cast<CameraBinZoom *>(d);
|
||||
|
||||
QMetaObject::invokeMethod(zoom, "maximumOpticalZoomChanged",
|
||||
QMetaObject::invokeMethod(zoom, "maximumDigitalZoomChanged",
|
||||
Qt::QueuedConnection,
|
||||
Q_ARG(qreal, zoomFactor));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user