[Bug 720810] audio/video: Initialize all {audio|video}info fields

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 23 07:49:08 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=720810
  GStreamer | gst-plugins-base | unspecified

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #4 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2013-12-23 15:49:01 UTC ---
This is a bit poblematic as the _gst_reserved will be moved inside an abidata
union when we need to extend the API, and then we'd clear the new item. Also,
it does solve the problem with unitinilisized stride and offset for format
where the number of planes is smaller then 4.

Why can't we simply clear all of GstVideoInfo ?

i.e. memset (info, 0xff, sizeof (GstVideoInfo));

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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