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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 21 10:35:02 UTC 2018


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

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 371173:
 --> (https://bugzilla.gnome.org/review?bug=795415&attachment=371173)

::: ext/jpeg/gstjpegenc.c
@@ +581,3 @@
+
+    downstream_caps = gst_pad_peer_query_caps (enc->srcpad, NULL);
+    if (gst_caps_is_fixed (downstream_caps)) {

image/jpeg are also fixed caps :)

@@ +587,3 @@
+
+      if (filter)
+        ret = gst_caps_intersect (input_caps, filter);

gst_caps_intersect_full(filter, input_caps, GST_CAPS_INTERSECT_FIRST)

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