Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f364dfc9eccc0dc6a8b213142b3498900cfbab5d
      
https://github.com/WebKit/WebKit/commit/f364dfc9eccc0dc6a8b213142b3498900cfbab5d
  Author: Olivier Blin <[email protected]>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp
    M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.h

  Log Message:
  -----------
  [GStreamer] Fix VideoEncoderPrivateGStreamer build without WebCodecs
https://bugs.webkit.org/show_bug.cgi?id=281487

Reviewed by Philippe Normand.

VideoEncoderPrivateGStreamer.h included VideoEncoder.h for the ScalabilityMode
enum, but this is only available when WEB_CODECS is enabled.

To be able to use VideoEncoderPrivateGStreamer for MediaRecorder and MediaStream
when WebCodecs is disabled, use VideoEncoderScalabilityMode.h instead.

* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp:
(webkit_video_encoder_class_init):
* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.h:
(WebKitVideoEncoderBitRateAllocation::create):
(WebKitVideoEncoderBitRateAllocation::scalabilityMode const):
(WebKitVideoEncoderBitRateAllocation::WebKitVideoEncoderBitRateAllocation):

Canonical link: https://commits.webkit.org/285195@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to