fix: 'm_state' was not declared in this scope
authorZhang Xingtao <zhxt@ovi.com>
Fri, 28 Mar 2014 05:59:05 +0000 (13:59 +0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 28 Mar 2014 10:22:19 +0000 (11:22 +0100)
Error occurred when building with DEBUG_PLAYBIN defined.
It should be m_currentState from context.

Change-Id: Iad59966ca19c9d1b589fc8641599494436a0a5f3
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Jing Bai <doris.bai@gmail.com>
src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp

index e028e6d..ff99aa3 100644 (file)
@@ -630,7 +630,7 @@ void QGstreamerPlayerControl::popAndNotifyState()
     if (m_stateStack.isEmpty()) {
         if (m_currentState != oldState) {
 #ifdef DEBUG_PLAYBIN
-            qDebug() << "State changed:" << m_state;
+            qDebug() << "State changed:" << m_currentState;
 #endif
             emit stateChanged(m_currentState);
         }