Browse Source

Video: Fix conversion warning

v7.0.9
reuk 2 years ago
parent
commit
00049d8b3a
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_video/native/juce_Video_mac.h

+ 1
- 1
modules/juce_video/native/juce_Video_mac.h View File

@@ -797,7 +797,7 @@ private:
static double toSeconds (const CMTime& t) noexcept
{
return t.timescale != 0 ? (t.value / (double) t.timescale) : 0.0;
return t.timescale != 0 ? ((double) t.value / (double) t.timescale) : 0.0;
}
void playerPreparationFinished (const URL& url, Result r)


Loading…
Cancel
Save