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: Thomas Tempelmann <tempelmann@gmail.com>
Date: Tue, 30 Jun 2009 17:27:23 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MZP60tHMRR9Iw5mAQIBsSlobzxch+szBsXZcp9jA4m0=; b=FZVgDSMYX1nN1QbvhxqpUnIPdskcKs5TmwomgDxxvg5pFuBHIcK70hGfpoINc4CWxX lgUaIwROAuYBbcuEvERaXy27UnRQ9HlDTsDk8uy15zyLNqHTQTN68NfqasZHLx6lILss P1lIfUwdYI8hA9Fl1l8iPD5QG181JCakYVTio=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FsQ9ARCuO9cJOm3Kon/W2kUO49yZ5vex7BgLGaDHHJqQCAVxeGLXCdfSR27kUrodrD jbthg5Gy9zhFwFAVZT26+WW70/2FNLPb1nSmuNmlB/iuEUMZ/cjEkHKd7/oCGVlkIe3H Gj7H2HPMxbjN7v/9INWsqQOaqYIIC0KjNQnfc=
In-reply-to: <89fe53800906300813x43cd7089j79bd587d9f714d8d@mail.gmail.com>
References: <89fe53800906300811y6aa6780el4896fd61a2674da7@mail.gmail.com> <89fe53800906300813x43cd7089j79bd587d9f714d8d@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I found TrackID, but that doesn't seem to be right, i.e. trying this (on OS X):

  dim mov as EditableMovie
  mov = f.CreateMovie

  dim vt as QTVideoTrack
  vt = mov.NewVideoTrack (w, h, 25)

  declare function GetTrackMedia lib "Quicktime" (theTrack as Integer)
as Integer
  dim media as Integer = GetTrackMedia (vt.TrackID)

.... leads to a crash in GetTrackMedia - suggesting that TrackID is not
the handle of type "Track" in the C SDK.

Does someone know if and how RB's TrackID and QT's Track type are related?

-- 
Thomas Tempelmann, http://www.tempel.org/

_______________________________________________
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>