Re: Cocoa-dev Digest, Vol 2, Issue 678
Re: Cocoa-dev Digest, Vol 2, Issue 678
- Subject: Re: Cocoa-dev Digest, Vol 2, Issue 678
- From: Tim Monroe <email@hidden>
- Date: Thu, 12 May 2005 22:35:12 -0700
On May 11, 2005, at 3:37 PM, Christian Schneider wrote:
it certainly seems to lack Apple's usual love for detail - especially
compared to the almost obscenely beautiful new RSS screen saver. For
example, I just can't figure out why there are five different methods
for inserting media from one movie into another movie but no simple
way to append one movie to another (or lacking that a one-stop method
to select all of a movie). But I would have had enough opportunity to
complain during the seeding phase, so I'll better shut up now.
This code appends srcMovie to dstMovie:
<x-tad-bigger> QTTime srcDuration = [srcMovie duration];
QTTime dstDuration = [dstMovie duration];
QTTimeRange range = QTMakeTimeRange(QTZeroTime, srcDuration);
[dstMovie</x-tad-bigger> <x-tad-bigger>insertSegmentOfMovie:srcMovie timeRange:range atTime: dstDuration];
</x-tad-bigger>This code selects all of srcMovie::
<x-tad-bigger>
[srcMovie</x-tad-bigger> <x-tad-bigger>setSelection:range];
</x-tad-bigger><x-tad-smaller>Tim Monroe
QuickTime Engineering
email@hidden
</x-tad-smaller> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden