mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Issue #80 - De-unify dom/media part 1
This de-unifies up to and including dom/media/platforms with the exception of dom/media/platforms/wmf, because that one throws weird errors in the Win SDK which don't have a clear cause (yet)
This commit is contained in:
parent
04b6d1f5e6
commit
094d4730dd
40 changed files with 79 additions and 50 deletions
|
|
@ -788,6 +788,13 @@ MediaDecoder::CallSeek(const SeekTarget& aTarget, dom::Promise* aPromise)
|
|||
&MediaDecoder::OnSeekResolved, &MediaDecoder::OnSeekRejected));
|
||||
}
|
||||
|
||||
// GetCurrentTime is defined in winbase.h as a zero argument macro forwarding to
|
||||
// GetTickCount(), which conflicts with the MediaDecoder::GetCurrentTime
|
||||
// implementation here. Clear the macro.
|
||||
#ifdef GetCurrentTime
|
||||
#undef GetCurrentTime
|
||||
#endif
|
||||
|
||||
double
|
||||
MediaDecoder::GetCurrentTime()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue