[Bug 769797] videoparse: format i420, invalid buffer size (regression)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 16 06:42:45 UTC 2016


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

--- Comment #8 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Carlos Rafael Giani from comment #6)
> Created attachment 333376 [details] [review]
> Compute plane strides&offsets if no custom ones are set
> 
> (In reply to Sebastian Dröge (slomo) from comment #4)
> > gst_raw_video_parse_update_info() also assumes that the last plane is the
> > physically last one. For YV12 that's not necessarily true (V comes before U).
> 
> This patch fixes the reported problems, except this detail. I currently do
> not know how would I get the physically last plane. Any ideas?

The old code in videoparse did that. It iterated over all planes and remembered
the physically last one.

Also looking at gst_video_frame_copy() might be useful

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