upnp: fix indentation in player after previous commit
authormontellese <montellese@xbmc.org>
Mon, 17 Feb 2014 20:38:41 +0000 (21:38 +0100)
committermontellese <montellese@xbmc.org>
Mon, 17 Feb 2014 20:42:47 +0000 (21:42 +0100)
xbmc/network/upnp/UPnPPlayer.cpp

index c9fa211..5a73d41 100644 (file)
@@ -261,14 +261,14 @@ int CUPnPPlayer::PlayFile(const CFileItem& file, const CPlayerOptions& options,
   if (m_delegate->m_trainfo.cur_transport_state != "NO_MEDIA_PRESENT" &&
       m_delegate->m_trainfo.cur_transport_state != "STOPPED")
   {
-  timeout.Set(timeout.GetInitialTimeoutValue());
-  /* dlna specifies that a return code of 705 should be returned
-   * if TRANSPORT_STATE is not STOPPED or NO_MEDIA_PRESENT */
-  NPT_CHECK_LABEL_SEVERE(m_control->Stop(m_delegate->m_device
-                                         , m_delegate->m_instance
-                                         , m_delegate), failed);
-  NPT_CHECK_LABEL_SEVERE(WaitOnEvent(m_delegate->m_resevent, timeout, dialog), failed);
-  NPT_CHECK_LABEL_SEVERE(m_delegate->m_resstatus, failed);
+    timeout.Set(timeout.GetInitialTimeoutValue());
+    /* dlna specifies that a return code of 705 should be returned
+     * if TRANSPORT_STATE is not STOPPED or NO_MEDIA_PRESENT */
+    NPT_CHECK_LABEL_SEVERE(m_control->Stop(m_delegate->m_device
+                                           , m_delegate->m_instance
+                                           , m_delegate), failed);
+    NPT_CHECK_LABEL_SEVERE(WaitOnEvent(m_delegate->m_resevent, timeout, dialog), failed);
+    NPT_CHECK_LABEL_SEVERE(m_delegate->m_resstatus, failed);
   }