mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #27537 - jdm:armmedia, r=Manishearth
Use gstreamer on UWP targets This fixes a regression that cause our arm64 builds to use the dummy media stack by default. Oops. Fix #27531. Fix #27532.
This commit is contained in:
commit
8067a2fe94
3 changed files with 6 additions and 2 deletions
|
@ -287,6 +287,10 @@ Servo::Servo(std::optional<hstring> initUrl, hstring args, GLsizei width,
|
|||
sServo = this; // FIXME;
|
||||
|
||||
auto current = ApplicationData::Current();
|
||||
auto gstLog = std::wstring(current.LocalFolder().Path()) + L"\\gst.log";
|
||||
SetEnvironmentVariable(L"GST_DEBUG_FILE", gstLog.c_str());
|
||||
// SetEnvironmentVariableA("GST_DEBUG", "4");
|
||||
|
||||
auto filePath = std::wstring(current.LocalFolder().Path()) + L"\\stdout.txt";
|
||||
sLogHandle =
|
||||
CreateFile2(filePath.c_str(), GENERIC_WRITE, 0, CREATE_ALWAYS, nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue