[ActiveX] togglePause doesn't work anymore
Posted: 09 Jun 2010 16:10
I've upgraded my .NET project to VLC 1.1.0 RC1 ActiveX, since this release togglePause doesn't work anymore.
player.AutoPlay = False
player.playlist.add(file, "", ":no-video-title-show :codec avcodec")
player.playlist.playItem(0) //Used for preloading the movie
While Not player.input.state.Equals(4)
writeToLog("Trying")
player.playlist.togglePause()
End While
When I run the code it will log "Trying" a couple of times (I assume that it really updates the play state) however, it doesn't pause the player. It does exit the while loop, but still with VLC playing.
It works in the current stable version of VLC, but I want to upgrade asap for using the deinterlace functionality.
Sander
player.AutoPlay = False
player.playlist.add(file, "", ":no-video-title-show :codec avcodec")
player.playlist.playItem(0) //Used for preloading the movie
While Not player.input.state.Equals(4)
writeToLog("Trying")
player.playlist.togglePause()
End While
When I run the code it will log "Trying" a couple of times (I assume that it really updates the play state) however, it doesn't pause the player. It does exit the while loop, but still with VLC playing.
It works in the current stable version of VLC, but I want to upgrade asap for using the deinterlace functionality.
Sander