Bug 212568 - Remove ENABLE_VIDEO_TRACK ifdef guards
Summary: Remove ENABLE_VIDEO_TRACK ifdef guards
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-30 09:40 PDT by Philippe Normand
Modified: 2020-06-07 02:56 PDT (History)
38 users (show)

See Also:


Attachments
WIP Patch (272.64 KB, patch)
2020-06-04 10:41 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (272.59 KB, patch)
2020-06-04 10:55 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (272.70 KB, patch)
2020-06-05 04:03 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (273.74 KB, patch)
2020-06-06 02:05 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (273.78 KB, patch)
2020-06-06 03:19 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (280.92 KB, patch)
2020-06-06 03:50 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (280.99 KB, patch)
2020-06-06 04:11 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (281.05 KB, patch)
2020-06-06 04:28 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
WIP Patch (282.89 KB, patch)
2020-06-06 04:48 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
Patch (307.32 KB, patch)
2020-06-06 06:55 PDT, Philippe Normand
youennf: review+
Details | Formatted Diff | Diff
patch for landing (305.79 KB, patch)
2020-06-07 01:32 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2020-05-30 09:40:33 PDT
This feature seems to be enabled on all ports nowadays, and the spec hasn't changed. Can we unconditionally enable this feature?
Comment 1 Eric Carlson 2020-06-01 06:29:04 PDT
I think we can
Comment 2 Philippe Normand 2020-06-03 11:21:00 PDT
I've started a patch, going to be big.
Comment 3 Philippe Normand 2020-06-04 10:34:53 PDT
While working on this I'm checking the build with ENABLE(VIDEO) disabled. This hasn't be tested in a looonng time. What should we do with the GPU process when VIDEO is disabled?
Comment 4 Philippe Normand 2020-06-04 10:41:23 PDT
Created attachment 401039 [details]
WIP Patch
Comment 5 Philippe Normand 2020-06-04 10:55:26 PDT
Created attachment 401044 [details]
WIP Patch
Comment 6 Philippe Normand 2020-06-05 04:03:00 PDT
Created attachment 401140 [details]
WIP Patch
Comment 7 Philippe Normand 2020-06-06 02:05:09 PDT
Created attachment 401243 [details]
WIP Patch
Comment 8 Philippe Normand 2020-06-06 03:19:12 PDT
Created attachment 401246 [details]
WIP Patch
Comment 9 Philippe Normand 2020-06-06 03:50:40 PDT
Created attachment 401247 [details]
WIP Patch
Comment 10 Philippe Normand 2020-06-06 04:11:42 PDT
Created attachment 401248 [details]
WIP Patch
Comment 11 Philippe Normand 2020-06-06 04:28:12 PDT
Created attachment 401250 [details]
WIP Patch
Comment 12 Philippe Normand 2020-06-06 04:48:30 PDT
Created attachment 401251 [details]
WIP Patch
Comment 13 Philippe Normand 2020-06-06 06:55:37 PDT
Created attachment 401255 [details]
Patch
Comment 14 youenn fablet 2020-06-06 11:06:14 PDT
Comment on attachment 401255 [details]
Patch

Nice!

Have you tried compiling with ENABLE_VIDEO disabled?

View in context: https://bugs.webkit.org/attachment.cgi?id=401255&action=review

> Source/WebCore/WebCore.xcodeproj/project.pbxproj:3986
> +    BE88E0D91715D2A200658D98 /* AudioTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = BE88E0CD1715D2A200658D98 /* AudioTrack.h */; settings = {ATTRIBUTES = (Private, ); }; };

Seems strange, was it done by hand?
Comment 15 Philippe Normand 2020-06-06 11:20:40 PDT
(In reply to youenn fablet from comment #14)
> Comment on attachment 401255 [details]
> Patch
> 
> Nice!
> 
> Have you tried compiling with ENABLE_VIDEO disabled?
> 

Yes, it's broken. I'm not sure how to deal with the GPU process in this case.

> View in context:
> https://bugs.webkit.org/attachment.cgi?id=401255&action=review
> 
> > Source/WebCore/WebCore.xcodeproj/project.pbxproj:3986
> > +    BE88E0D91715D2A200658D98 /* AudioTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = BE88E0CD1715D2A200658D98 /* AudioTrack.h */; settings = {ATTRIBUTES = (Private, ); }; };
> 
> Seems strange, was it done by hand?

Yes :)
Comment 16 Philippe Normand 2020-06-06 11:21:25 PDT
(In reply to Philippe Normand from comment #15)
> (In reply to youenn fablet from comment #14)
> > Comment on attachment 401255 [details]
> > Patch
> > 
> > Nice!
> > 
> > Have you tried compiling with ENABLE_VIDEO disabled?
> > 
> 
> Yes, it's broken. I'm not sure how to deal with the GPU process in this case.
> 
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=401255&action=review
> > 
> > > Source/WebCore/WebCore.xcodeproj/project.pbxproj:3986
> > > +    BE88E0D91715D2A200658D98 /* AudioTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = BE88E0CD1715D2A200658D98 /* AudioTrack.h */; settings = {ATTRIBUTES = (Private, ); }; };
> > 
> > Seems strange, was it done by hand?
> 
> Yes :)

I'll check this again, seems suspicious indeed.
Comment 17 Philippe Normand 2020-06-06 11:22:30 PDT
Comment on attachment 401255 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=401255&action=review

>>>> Source/WebCore/WebCore.xcodeproj/project.pbxproj:3986
>>>> +    BE88E0D91715D2A200658D98 /* AudioTrack.h in Headers */ = {isa = PBXBuildFile; fileRef = BE88E0CD1715D2A200658D98 /* AudioTrack.h */; settings = {ATTRIBUTES = (Private, ); }; };
>>> 
>>> Seems strange, was it done by hand?
>> 
>> Yes :)
> 
> I'll check this again, seems suspicious indeed.

Ah it's only a white-space issue. I'll fix this before landing.
Comment 18 youenn fablet 2020-06-06 11:28:41 PDT
(In reply to Philippe Normand from comment #15)
> (In reply to youenn fablet from comment #14)
> > Comment on attachment 401255 [details]
> > Patch
> > 
> > Nice!
> > 
> > Have you tried compiling with ENABLE_VIDEO disabled?
> > 
> 
> Yes, it's broken. I'm not sure how to deal with the GPU process in this case.

I don't think ENABLE_VIDEO disabled and GPU process enabled is that important.
But it might be worth keeping ENABLE_VIDEO disabled and GPU Process disabled.
Comment 19 Philippe Normand 2020-06-07 01:32:12 PDT
Created attachment 401288 [details]
patch for landing
Comment 20 Philippe Normand 2020-06-07 02:56:49 PDT
Fixed in r262695