[Bug 795415] jpegenc: Disallow upstream renegotiation if downstream doesn't support it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 20 20:22:09 UTC 2018


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

--- Comment #1 from Thibault Saunier <tsaunier at gnome.org> ---
Created attachment 371173
  --> https://bugzilla.gnome.org/attachment.cgi?id=371173&action=edit
jpegenc: Disallow upstream renegotiation if downstream doesn't support it

Currently when upstream tries to renegotiate the input format, we just
let it decide whatever it wants solely based on what jpegenc supports,
not taking into account what downstream can do.

This patch checks if downstream supports renegotiation by querying
downstream caps and checking if they are fixed, which
implies nothing else will be accepted.

Maybe in some cases we could be able to renegotiate some parts
of upstream format without changing downstream caps, but better safe
than sorry for now.

-- 
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