Bug 242644 - [GStreamer][VideoCapture] VideoTrackPrivateGStreamer: Only enqueueTask in callbacks when not on MainThread
Summary: [GStreamer][VideoCapture] VideoTrackPrivateGStreamer: Only enqueueTask in cal...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 11:45 PDT by James Hilliard
Modified: 2022-08-20 03:21 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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