Bug 178074

Summary: [MSE][GStreamer] Add dump of append pipeline
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: bugs-noreply, calvaris, commit-queue, eocanha, Ms2ger
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Alicia Boya García 2017-10-09 02:20:12 PDT
Pipeline dumps are very useful for debugging. Right now we have one for
PlaybackPipeline but none for AppendPipeline.
Comment 1 Alicia Boya García 2017-10-09 02:45:48 PDT
Created attachment 323164 [details]
Comment 2 Enrique Ocaña 2017-10-09 03:16:09 PDT
Comment on attachment 323164 [details]

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

> Source/WebCore/ChangeLog:3
> +        [GTK][MSE] Add dump of append pipeline

The whole patch looks very good. I would just rename the bug to "[MSE][GStreamer] ..." because it applies to all GStreamer ports (GTK, WPE or any other in the future).
Comment 3 Xabier Rodríguez Calvar 2017-10-09 03:23:41 PDT
Comment on attachment 323164 [details]

I agree with Enrique. This said, the patch is good enough and we can land it provided that you create a bug (and fix if if you can) to rework the way we subscribe and unsubscribe to signals in this and other pipelines.

First. we should subscribe with lambdas.

Second, we should unsubscribe with the by_data function instead of the by_func one. That way, as we always pass this as user_data, we'll always unsubscribe from stuff even when we haven't done it explicitly for all functions (and we won't need declared functions, lambdas will suffice).
Comment 4 Alicia Boya García 2017-10-09 03:32:32 PDT
Created attachment 323165 [details]
Comment 5 Xabier Rodríguez Calvar 2017-10-09 04:12:00 PDT
Comment on attachment 323165 [details]

By request of Alicia, we set cq- because she can't check the landing now.
Comment 6 WebKit Commit Bot 2017-10-11 02:33:49 PDT
Comment on attachment 323165 [details]

Clearing flags on attachment: 323165

Committed r223172: <http://trac.webkit.org/changeset/223172>
Comment 7 WebKit Commit Bot 2017-10-11 02:33:51 PDT
All reviewed patches have been landed.  Closing bug.