Bug with MovieStatus.

Post bugreports for the Windows version here
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Bug with MovieStatus.

Post by True29 »

Hello ,

I have a Intro movie for my game the Length of it is 22 seconds.
Moviestat gives the Wrong state at ~18 seconds it drops as example from 120000 milliseconds to 0.

this is the Code:

Code: Select all

If Not IsMovie(#intro_movie) = 0     
       Repeat                  
        Delay(20)
          If MovieStatus(#intro_movie) = 0   
            Ende=1
          EndIf         
       Until Ende=1
    EndIf
when i use this code for the code the Video is playing the hole 22 seconds.

Code: Select all

;Delay(22000) 

Greets.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Bug with MovieStatus.

Post by MachineCode »

How do you know it's MovieState() and not the video itself? Please put a link to the video so we can check it for ourselves.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Re: Bug with MovieStatus.

Post by True29 »

first

because of that
;Delay(22000)

and second
when i play the video with vlc player it playes the 22 Seconds ;)


sorry but the Video is not for public at the moment ;)
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Bug with MovieStatus.

Post by MachineCode »

True29 wrote:because of that
;Delay(22000)
Doesn't prove anything. That just means MovieStatus() hasn't had a chance to crash from the bad video yet. ;)
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Re: Bug with MovieStatus.

Post by True29 »

i know its a bug ;)
if you like search for testvideo size 10MB format m2v.

When i test it with Delay(22000) there was no moviestatus().

Greets.
Post Reply