Bug 242644

Summary: [GStreamer][VideoCapture] VideoTrackPrivateGStreamer: Only enqueueTask in callbacks when not on MainThread
Product: WebKit Reporter: James Hilliard <james.hilliard1>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, philn
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description James Hilliard 2022-07-12 11:45:33 PDT
If we receive a callback while isMainThread() is already true we should execute the callback function directly as AbortableTaskQueue expects isMainThread() to be false.
Comment 1 James Hilliard 2022-07-12 11:50:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2329