Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 04a4f4adf3f1272fe288b310cdcca6cc8f96c956
https://github.com/WebKit/WebKit/commit/04a4f4adf3f1272fe288b310cdcca6cc8f96c956
Author: Philippe Normand <[email protected]>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
Log Message:
-----------
[GStreamer] Minor cleanups in GstMappedFrame class
https://bugs.webkit.org/show_bug.cgi?id=274312
Reviewed by Xabier Rodriguez-Calvar.
There is no need for a m_isValid boolean attribute because the buffer field on
the GstVideoFrame can
be checked instead.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
(WebCore::GstMappedFrame::GstMappedFrame):
(WebCore::GstMappedFrame::~GstMappedFrame):
(WebCore::GstMappedFrame::get):
(WebCore::GstMappedFrame::ComponentData const):
(WebCore::GstMappedFrame::ComponentStride const):
(WebCore::GstMappedFrame::info):
(WebCore::GstMappedFrame::width const):
(WebCore::GstMappedFrame::height const):
(WebCore::GstMappedFrame::format const):
(WebCore::GstMappedFrame::planeData const):
(WebCore::GstMappedFrame::planeStride const):
(WebCore::GstMappedFrame::isValid const):
(WebCore::GstMappedFrame::operator bool const):
(WebCore::GstMappedFrame::operator! const):
Canonical link: https://commits.webkit.org/278992@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