Bug 201602

Summary: [GTK] Cannot build WebKitGTK 2.26.0 with MSE in Debian stable
Product: WebKit Reporter: Alberto Garcia <berto>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aboya, annulen, bugs-noreply, calvaris, cgarcia, eric.carlson, ews-watchlist, glenn, gustavo, gyuyoung.kim, jer.noble, menard, philipj, pnormand, rakuco, ryuan.choi, sergio, vjaquez
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=201824
Attachments:
Description Flags
Patch none

Alberto Garcia
Reported 2019-09-09 05:37:17 PDT
Commit r249205 bumped the GStreamer dependency from 1.14 to 1.16 for ENABLE_MEDIA_SOURCE Debian stable (buster) ships GStreamer 1.14.4, and because of this it is not possible to build WebKitGTK with Media Source Extensions enabled.
Attachments
Patch (117.55 KB, patch)
2019-09-12 06:27 PDT, Carlos Garcia Campos
no flags
Philippe Normand
Comment 1 2019-09-09 06:19:27 PDT
Can you revert this patch in 2.26 please? I thought we had agreed to finally not ship this with so little time for testing before the 2.26.0 release.
Carlos Garcia Campos
Comment 2 2019-09-09 06:52:37 PDT
I didn't know anything. Which patch exactly should I revert?
Philippe Normand
Comment 3 2019-09-09 07:00:28 PDT
Carlos Garcia Campos
Comment 4 2019-09-10 01:12:39 PDT
(In reply to Philippe Normand from comment #3) > r249257 Oh, I explicitly asked whether I had to merge that one. It's supposed to fix things, no? I'm afraid I also merged other fixes on top that I would need to revert too. Isn't it possible to make current code work with 1.14? We'll have to do it in any case in trunk.
Alicia Boya García
Comment 5 2019-09-10 04:13:09 PDT
(In reply to Carlos Garcia Campos from comment #4) > (In reply to Philippe Normand from comment #3) > > r249257 > > Oh, I explicitly asked whether I had to merge that one. It's supposed to fix > things, no? I'm afraid I also merged other fixes on top that I would need to > revert too. Isn't it possible to make current code work with 1.14? We'll > have to do it in any case in trunk. It fixes things (mostly seek bugs) but it also depends on playbin3 working well with it... Investigating if something could be done to have it work with 1.14 (and still use playbin3) is a non-trivial effort but could be done if it's important enough.
Alberto Garcia
Comment 6 2019-09-10 04:21:35 PDT
The problem in a nutshell is that I cannot provide security updates (nor backports) of WebKitGTK 2.26 for Debian stable unless I disable the Media Source Extensions. This arguably breaks the dependencies policy: https://trac.webkit.org/wiki/WebKitGTK/DependenciesPolicy
Carlos Garcia Campos
Comment 7 2019-09-10 04:42:07 PDT
(In reply to Alicia Boya García from comment #5) > (In reply to Carlos Garcia Campos from comment #4) > > (In reply to Philippe Normand from comment #3) > > > r249257 > > > > Oh, I explicitly asked whether I had to merge that one. It's supposed to fix > > things, no? I'm afraid I also merged other fixes on top that I would need to > > revert too. Isn't it possible to make current code work with 1.14? We'll > > have to do it in any case in trunk. > > It fixes things (mostly seek bugs) but it also depends on playbin3 working > well with it... Investigating if something could be done to have it work > with 1.14 (and still use playbin3) is a non-trivial effort but could be done > if it's important enough. Again, we have to do this in trunk in any case.
Carlos Garcia Campos
Comment 8 2019-09-10 04:47:31 PDT
(In reply to Carlos Garcia Campos from comment #7) > (In reply to Alicia Boya García from comment #5) > > (In reply to Carlos Garcia Campos from comment #4) > > > (In reply to Philippe Normand from comment #3) > > > > r249257 > > > > > > Oh, I explicitly asked whether I had to merge that one. It's supposed to fix > > > things, no? I'm afraid I also merged other fixes on top that I would need to > > > revert too. Isn't it possible to make current code work with 1.14? We'll > > > have to do it in any case in trunk. > > > > It fixes things (mostly seek bugs) but it also depends on playbin3 working > > well with it... Investigating if something could be done to have it work > > with 1.14 (and still use playbin3) is a non-trivial effort but could be done > > if it's important enough. > > Again, we have to do this in trunk in any case. I don't mean using playbin3 with 1.14, it could simply have a fallback impl when gst < 1.16. I don't mind the solution as long as we can still build with < 1.16 and no regressions.
Carlos Garcia Campos
Comment 9 2019-09-12 06:27:01 PDT
Alicia Boya García
Comment 10 2019-09-16 10:02:36 PDT
Splitting the MSE player in two is a *huge* burden for future maintenance and forward work in MSE. I don't want that to happen. Please check this alternative solution to make 1.14 work with the new playbin3-based MSE player, which does not have that pitfall. https://bugs.webkit.org/show_bug.cgi?id=201824
Carlos Garcia Campos
Comment 11 2019-10-24 00:56:36 PDT
This is no longer an issue
Note You need to log in before you can comment on or make changes to this bug.