<br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 3:13 PM, Srikanth Raju <span dir="ltr"><<a href="mailto:srikiraju@gmail.com">srikiraju@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
The statusChanged() signal is being emitted twice on play and pause.<br></blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
@@ -103,7 +103,6 @@ void InputManager::setInput( input_thread_t *_p_input )<br>     {<br>         msg_Dbg( p_intf, "IM: Setting an input" );<br>         vlc_object_hold( p_input );<br>-        emit statusChanged( PLAYING_S );<br>
         UpdateName();<br>         UpdateArt();<br>         UpdateTeletext();<br>@@ -693,7 +692,6 @@ void InputManager::togglePlayPause()<br>         int state = var_GetInteger( p_input, "state" );<br>         state = ( state != PLAYING_S ) ? PLAYING_S : PAUSE_S;<br>
         var_SetInteger( p_input, "state", state );<br>-        emit statusChanged( state );<br>     }<br> }<br><br></blockquote><div><br>It is clear to me why not emitting statusChanged in  togglePlayPause(), but why not in setInput()? Removing the signal only from togglePlayPause() fixes the problem for me.<br>
</div></div>