[Bug 787820] glvideomixer: need update output geo after src caps reconfigure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 19 06:14:54 UTC 2017


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

--- Comment #7 from Haihua Hu <jared.hu at nxp.com> ---
(In reply to Matthew Waters (ystreet00) from comment #6)
> (In reply to Haihua Hu from comment #5)
> > (In reply to Matthew Waters (ystreet00) from comment #4)
> > BTW, why it will failed on this:
> > videotestsrc ! video/x-raw,width=320,height=240 ! glvideomixer !
> > video/x-raw(ANY),width=800,height=600 ! fakesink
> 
> Because best_width/height will contain some combination of the input frames
> and blanket overriding them will cause video/x-raw,width=320,height=240 to
> be set on the output src pad which does not intersect with downstream's
> video/x-raw(ANY),width=800,height=600 and thus will fail to negotate.

Maybe we can do something like that when width and height is fixed, we do not
update it, otherwise update it with our best width and height.

> 
> > And I didn't find GstGLMixerClass::set_caps() implementation, do you mean
> > negotiated_caps
> 
> The glvideomixer implementation of GstGLMixerClass::set_caps() at
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/gl/
> gstglvideomixer.c#n870

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