BRIEF §20.2 lists a MediaPlayer playback check after the Media Foundation encode smoke test; the encoder tests stopped at the MP4 inspector. The new test encodes two seconds of software H.264, opens the file with WPF's MediaPlayer and checks its natural size and duration (failing on MediaFailed or a timeout), then decodes the first frame with a Media Foundation source reader and checks its size, the file's duration and the picture that was encoded. Without Windows Media Player (Windows Server, "N" editions) the source reader decode is the check. Core.Windows.Tests references WPF through its framework reference only, so its implicit usings stay as they are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
16 lines
653 B
XML
16 lines
653 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<RootNamespace>Titano.Core.Windows.Tests</RootNamespace>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<!-- WPF's MediaPlayer for the playback check (BRIEF §20.2); not UseWPF, which would also change the implicit usings. -->
|
|
<FrameworkReference Include="Microsoft.WindowsDesktop.App.WPF" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Titano.Testing\Titano.Testing.csproj" />
|
|
<ProjectReference Include="..\..\src\Titano.Core.Windows\Titano.Core.Windows.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|