同じメリット値を持つ2つのコーデックがある場合、DirectShowは「インテリジェント接続」メカニズムを介してどちらを使用するかをどのように決定しますか?
2 に答える
インテリジェントな接続msdnページは、これにいくつかの光を当てます。
Starting from Windows 7, a new system is used, and the merit system is only used as a fallback when no filter is found after searching for one using the new approach.
Starting in Windows 7, DirectShow has a list of preferred filters for certain media subtypes. If there is a preferred filter for the media type that is being rendered, the Filter Graph Manager tries that filter next. An application can modify the list of preferred filters by using the IAMPluginControl interface. Changes to the list affect the application's current process, and are discarded after the process ends.
In case the merit system is used, the msdn page only mentions the following:
次に、メリットの高いものから低いものの順にそれらを試します。(追加の基準を使用して、同等のメリットを持つフィルターから選択します。)
それはサイコロを投げます。
深刻な動作は未定義です。両方のデコーダーが最初に実行される可能性があります。拒否された場合、フィルタ グラフは別のものを試行します。