realbasic-nug
[Top] [All Lists]

Re: How to get the handle to a QTVideoTrack?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: How to get the handle to a QTVideoTrack?
From: Arnaud Nicolet <anic297@mac.com>
Date: Tue, 30 Jun 2009 17:49:29 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <89fe53800906300834k3d2a5afdx45274d2e1fded738@mail.gmail.com>
References: <89fe53800906300811y6aa6780el4896fd61a2674da7@mail.gmail.com> <89fe53800906300813x43cd7089j79bd587d9f714d8d@mail.gmail.com> <89fe53800906300827j75aebdc2ma7491d266d405a75@mail.gmail.com> <89fe53800906300834k3d2a5afdx45274d2e1fded738@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Le 30 juin 09 à 17:34, Thomas Tempelmann a écrit:

On Tue, Jun 30, 2009 at 17:27, Thomas Tempelmann<tempelmann@gmail.com> wrote:
I found TrackID, but that doesn't seem to be right, i.e. trying this (on OS X):

Uh, I think I solved it:

    declare function GetMovieTrack lib "Quicktime" (theMovie as
Integer, trackID as Integer) as Integer
    dim track as Integer = GetMovieTrack(mov.Handle, vt.TrackID)

So, TrackID is some internal number, but GetMovieTrack() can look up
the ID and return the track handle.

Well done! It'll be of great use, thank you!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>