Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Unwanted display of movie picture from QuickTimePollMBS (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] MBS Plugin - QuickTime Problems on Windows
Next thread: [MBS] SetDragImage is Mac-only, but not SetDragImageWithRegion?


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] Unwanted display of movie picture from QuickTimePollMBS   -   px
   Re: [MBS] Unwanted display of movie picture from QuickTimePollMBS   -   Christian Schmitz

[MBS] Unwanted display of movie picture from QuickTimePollMBS
Date: 19.11.06 14:26 (Sun, 19 Nov 2006 08:26:57 -0500)
From: px
Using RB2006r4 and MBS Plugins64 (26 Oct. 2006), I am getting an
uncalled for display on my main screen of the first frame of a movie,
when QuickTimePollMBS is used in a NextInterestingVideoTimeMBS loop.
I haven't debugged beyond that. There is no window in the project,
and therefore no kind of display control or backdrop. Commenting out
QuickTimePollMBS avoids display.

Mac OS X 10.4.8 on a G4 PowerBook.

////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////

Dim c,time,duration As Integer
dim f As FolderItem
dim mov As EditableMovie

f = GetOpenFolderItem("video/QuickTime")
mov = f.OpenEditableMovie

mov.Position = 0
if mov<>nil then
if mov.NextInterestingVideoTimeMBS(time,duration) then
time = time + 2
while time > 0
if not mov.nextInterestingVideoTimeMBS(time,duration) then
msgBox "No nextinterestingvideotime?"
else
c = c + 1
end if
QuickTimePollMBS
wend
end if
mov.Position = 0
Return c
end if

////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////

Thanks.
PT
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Unwanted display of movie picture from QuickTimePollMBS
Date: 19.11.06 23:31 (Sun, 19 Nov 2006 23:31:55 +0100)
From: Christian Schmitz
px <<email address removed>> wrote:

> dim mov As EditableMovie

dim p as picture

> f = GetOpenFolderItem("video/QuickTime")
> mov = f.OpenEditableMovie

p=NewPicture(100,100,32)
call mov.ShowMovieMBS(p.Graphics)

> mov.Position = 0

Looks like a bug in RB for me.

Gruß
Christian

-