高度な検索
Developer Connection
Member Login ログイン | ご入会 ADC連絡先

Technote 1139

QuickTime 3.0.2

目次

新しいAPI

インストールされているバージョン

のテクノートでは、QuickTime 3.0とそのアップデートである 3.0.2 の違いに付いて説明します。

QuickTime 3.0.2 では、いくつかのバグの修正と、ハイエンドのビデオ再生アプリケーションのパフォーマンスを向上させる、最小限の変更を行いました。また、このノートで説明している2つの新しいAPIも追加しました。

 

新しいAPI

QuickTime 3.0.2では Movie Exportコンポーネントに新たなAPIをひとつ追加しました。

ComponentResult MovieExportSetGetMoviePropertyProc
                   (MovieExportComponent ci,
MovieExportGetPropertyUPP getPropertyProc, void* refCon); ci component instance getPropertyProc Specifies a callback function that provides
information about processing source samples. refcon Passed to the procedure specified in the
getPropertyProc parameter.

このルーチンは、Movie Exportコンポーネントに対する GetPropertyProc を指定します。MovieExportAddDataSource の呼び出し時に指定される GetPropertyProc と同じです。このルーチンで "property proc" を指定することによって、"data proc" から export を行うことなく、property のプログラムからの制御を可能とします。

QuickTime 3.0.2では、Data Handler コンポーネントにもひとつ新たなAPIを追加しました。

ComponentResult DataHGetInfoFlags
                   (DataHandler dh, UInt32* flags);
                  
dh       component instance
                  
flags    pointer to the long integer to receive the current flags

このルーチンは、data handler コンポーネントに関する情報を返します。現在以下のフラグがあります。

  • kDataHInfoFlagNeverStreams - この data handler は、streaming をサポートしていません。

 

インストールされているバージョンの識別

相変わらず、インストールされている QuickTimeのバージョンを知るには Gesutalt をつかいます。以下に QuickTimeのバージョンを得るコードを示します。

	{
			// check the version of QuickTime installed
		long version;
		result = Gestalt(gestaltQuickTime,&version);
		if (!result && version >= 0x03028000)
		{
			// we have version 3.0.2!
		}
	}
                  

更新日: 1998 年 9 月 14 日