Ticket #1065 (new defect)

Opened 2 years ago

Last modified 1 week ago

Regression: isPlaying incorrect after togglePause()+play()

Reported by: Spellcoder Assigned to: damienf
Priority: normal Milestone: 1.0.0 bugs
Component: Mozilla plugin Version:
Severity: normal Keywords:
Cc: Platform(s): Win32
Difficulty: unknown Work status: Not started

Description

After using playlist.togglePause twice (to pause and unpause a playing video) playlist.isPlaying will be false even though video is playing again.

Tested and found this problem in vlc-0.9.0-svn-20070220-0001-win32 and vlc-0.9.0-svn-20070124-0001-win32. Easyest way to test is to use DamienF's testpage (http://people.videolan.org/~damienf/plugin-0.8.6.html) and try pressing pause a few times.

As far as I know 0.8.6 doesn't have this problem.

Change History

02/21/07 14:40:23 changed by Spellcoder

  • summary changed from togglePause causes incorrect isPlaying status to isPlaying incorrect after togglePause()+play().

After checking again I found the problem to not be caused by using playlist.togglePause twice, but by pausing with togglePause() and resuming with play() instead of togglePause(). (so the same function can be used to start playback and pause/resume)

if( vlc.playlist.isPlaying ) {
 vlc.playlist.togglePause();
} else {
 vlc.playlist.play();
}

03/30/07 15:03:21 changed by yoann

  • summary changed from isPlaying incorrect after togglePause()+play() to Regression: isPlaying incorrect after togglePause()+play().
  • milestone set to 0.9.0 bugs.

08/22/07 05:36:51 changed by funman

  • owner set to damienf.

08/23/08 00:35:41 changed by jb

Still ? I think that was fixeD.