[Bug 788133] Fix problems with GstVideoInfo

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 16 12:07:31 UTC 2017


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

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.12.0

--- Comment #7 from Thibault Saunier <tsaunier at gnome.org> ---
This has been pushed and many other fixes have landed around ABI handling.

commit b5beac1217ab86d7c5600d2b4653758ed7b04074
Author: Thibault Saunier <thibault.saunier at osg.samsung.com>
Date:   Mon Sep 25 18:40:29 2017 -0300

    Make GstVideo/AudioInfo GLib.Opaque structures

    So that we generate a ABI compatible structure and make it working.
    Also this is the way we do it for almost all other structures of this
    kind.

    I first tried to keep having a managed structure that properly matches
    the C structure ABI generating in the gtk-sharp generator Explicit
structure
    for the union as we do with non managed structures but this is not
    possible and leads to the following assertion in mono:

        Type Gst.Video.VideoInfo/__ABI which has an [ExplicitLayout] attribute
cannot have a reference field at the same offset as another field.

    This sensibly changes the API but I bet noone will even notice.

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

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