[ActiveX] togglePause doesn't work anymore

This is a special forum aimed at testing and reporting regressions that happens on VLC 1.1.0.

This IS just about REGRESSIONS AND TESTING, no feature requests or bug reporting for OLD issues.
djsander
New Cone
New Cone
Posts: 3
Joined: 09 Jun 2010 16:02

[ActiveX] togglePause doesn't work anymore

Postby djsander » 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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: [ActiveX] togglePause doesn't work anymore

Postby Jean-Baptiste Kempf » 09 Jun 2010 17:36

why not directly pause?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

djsander
New Cone
New Cone
Posts: 3
Joined: 09 Jun 2010 16:02

Re: [ActiveX] togglePause doesn't work anymore

Postby djsander » 09 Jun 2010 18:02

How?

djsander
New Cone
New Cone
Posts: 3
Joined: 09 Jun 2010 16:02

Re: [ActiveX] togglePause doesn't work anymore

Postby djsander » 09 Jun 2010 20:51

A big movie is still loading when togglePause immediately after play, then it fails.
That's why a while loop.


Return to “VLC 1.1.0 testing”

Who is online

Users browsing this forum: No registered users and 6 guests