Bug 150889

Summary: [GStreamer] Use MainThreadNotifier to send notifications to main thread in TrackPrivateGStreamer
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, pnormand, zan
Priority: P2 Keywords: Gtk
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 150888    
Bug Blocks:    
Attachments:
Description Flags
Patch
zan: review+
Updated patch none

Description Carlos Garcia Campos 2015-11-04 03:30:26 PST
Instead of the GThreadSafeMainLoopSources.
Comment 1 Carlos Garcia Campos 2015-11-04 03:32:49 PST
Created attachment 264787 [details]
Patch
Comment 2 WebKit Commit Bot 2015-11-04 03:34:11 PST
Attachment 264787 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:84:  More than one command on the same line  [whitespace/newline] [4]
ERROR: Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:104:  More than one command on the same line  [whitespace/newline] [4]
ERROR: Source/WebCore/platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:82:  More than one command on the same line  [whitespace/newline] [4]
ERROR: Source/WebCore/platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:92:  More than one command on the same line  [whitespace/newline] [4]
Total errors found: 4 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Carlos Garcia Campos 2015-11-04 03:36:21 PST
This is not going to build, because it depends on #150888
Comment 4 Zan Dobersek 2015-11-06 05:05:23 PST
Comment on attachment 264787 [details]
Patch

All the uses of MainThreadNotifier<>::notify() need updating, otherwise looks fine.
Comment 5 Carlos Garcia Campos 2015-11-06 05:10:07 PST
Created attachment 264935 [details]
Updated patch
Comment 6 WebKit Commit Bot 2015-11-06 05:11:45 PST
Attachment 264935 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:80:  More than one command on the same line  [whitespace/newline] [4]
ERROR: Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:97:  More than one command on the same line  [whitespace/newline] [4]
ERROR: Source/WebCore/platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:78:  More than one command on the same line  [whitespace/newline] [4]
ERROR: Source/WebCore/platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp:84:  More than one command on the same line  [whitespace/newline] [4]
Total errors found: 4 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Carlos Garcia Campos 2015-11-06 06:18:21 PST
Committed r192101: <http://trac.webkit.org/changeset/192101>