Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer][MediaStream] Reduce usage of the player's m_isPaused vari…
…able https://bugs.webkit.org/show_bug.cgi?id=278983 Reviewed by Xabier Rodriguez-Calvar. Use the paused() method to know if the newly added audio track should start or not. The m_isPaused variable is confusing, see also bug #260385. Covered by fast/mediastream/play-newly-added-audio-track.html * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::paused const): (WebCore::MediaPlayerPrivateGStreamer::configureMediaStreamAudioTracks): (WebCore::MediaPlayerPrivateGStreamer::updateStates): Canonical link: https://commits.webkit.org/283144@main
- Loading branch information