• Zebediah Figura's avatar
    winegstreamer: Introduce an intermediate media format structure. · fb096d54
    Zebediah Figura authored
    The fundamental idea here is to provide a type which can be used in the unixlib
    interface. Obviously GstCaps can't be used from PE, and while AM_MEDIA_TYPE can
    in theory be used from the Unix library, allocation of the format block makes
    things a little tricky. Moreover, we'd ideally like to use the same backend for
    DirectShow and Media Foundation, and while it wouldn't be a problem currently,
    in general AM_MEDIA_TYPE is not quite expressive enough to translate from
    GstCaps to IMFMediaType, and the latter can't be used from the Unix library.
    Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    fb096d54
gst_private.h 4.43 KB