Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d3841081a4404e5734aca80209fa8efcc537f06
      
https://github.com/WebKit/WebKit/commit/2d3841081a4404e5734aca80209fa8efcc537f06
  Author: Philippe Normand <[email protected]>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp

  Log Message:
  -----------
  [GStreamer] Crash in WebCore::VideoFrameGStreamer::createWrappedSample when 
used by ImageDecoderGStreamer
https://bugs.webkit.org/show_bug.cgi?id=275205

Reviewed by Xabier Rodriguez-Calvar.

The issue here was that events were not correctly dispatched in nested 
GStreamer element harnesses,
leading to situations where a video decoder would receive an audio caps event, 
for instance. The VA
and libav decoders cope well with that situation, but the openh264 decoder just 
accepted those audio
caps (which is a bug in that decoder).

The solution is to pass events from upstream to downstream harness, if there is 
one. That's how
samples are also handled.

* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::GStreamerElementHarness::Stream::Stream):

Canonical link: https://commits.webkit.org/279942@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