[Bug 762543] xvimagesink: wrong pool selection when rendering buffers having GstVideoCropMeta attached

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 23 15:51:12 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk, slomo at coaxion.net

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
It would be good to use the pool independent of propose_allocation() I guess,
and if upstream provides different buffers we would copy the buffers into the
ones from our pool.

The resolution in propose_allocation() would be the allocation resolution, the
one in set_caps() is the display resolution. And then for each buffer you need
to check the crop meta to decide how much should be cropped and how. And you
can get a propose_allocation() that is completely unrelated to the current CAPS
and buffers you receive (maybe upstream has more buffers queued up in some old
format, maybe upstream decided to not use your pool and do things differently,
...).

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