[Bug 785531] appsink: forward the Protection Event to the application

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 2 10:29:59 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=785531

--- Comment #13 from Xabier Rodríguez Calvar <calvaris at igalia.com> ---
(In reply to Sebastian Dröge (slomo) from comment #12)
> Ah I see, so you want to get that info ASAP and prevent interruptions, and
> the pipeline setup is like that due to legal reasons.

Not only for legal reasons, it is because WebCore in WebKit needs to handle the
buffer ranges, etc. That's why the the pipeline is decoupled into two.

> Posting it from the demuxer is probably fine, yes. Note however that you
> then need to handle annoying cases like the decryptor using an old key while
> you already have a new one, and then you request yet another one. Your key
> retrieval server needs to support giving out many keys at the same time then.

IMHO, the way to go is a message from the appsink because you can hook to it in
the mainloop or the element thread.

Anyway, for now we either go with this solution in WebKit or we just add a
probe in the sink pad of the appsink filtering those messages up to the bus.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list