Skip to content

Commit

Permalink
Regression(278060@main): Unreviewed, build error with ENABLE_RELEASE_…
Browse files Browse the repository at this point in the history
…LOG=OFF and ENABLE_JOURNALD_LOG=OFF

https://bugs.webkit.org/show_bug.cgi?id=273493

It fixes a compiler error: unused parameter ‘time’

when it is compiled with ENABLE_RELEASE_LOG=OFF and ENABLE_JOURNALD_LOG=OFF and USE_OS_LOG=OFF

* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::seeked):

Canonical link: https://commits.webkit.org/278207@main
  • Loading branch information
pgorszkowski-igalia committed May 1, 2024
1 parent 088a3e5 commit 989aca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/WebCore/Modules/mediasource/MediaSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,9 @@ void MediaSource::failedToCreateRenderer(RendererType type)
void MediaSource::seeked(const MediaTime& time)
{
ALWAYS_LOG(LOGIDENTIFIER, time);
#if RELEASE_LOG_DISABLED
UNUSED_PARAM(time);
#endif
monitorSourceBuffers();
}

Expand Down

0 comments on commit 989aca0

Please sign in to comment.