Zebediah Figura : winegstreamer: Introduce an intermediate media format structure.

Alexandre Julliard julliard at winehq.org
Tue Feb 9 15:57:07 CST 2021


Module: wine
Branch: master
Commit: fb096d54a82a0ce754b14de3ea099a3bc0c26115
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=fb096d54a82a0ce754b14de3ea099a3bc0c26115

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Feb  8 15:06:59 2021 -0600

winegstreamer: Introduce an intermediate media format structure.

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: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gst_private.h |  60 +++++
 dlls/winegstreamer/gstdemux.c    | 516 ++++++++++++++++++++++++++++++++-------
 2 files changed, 486 insertions(+), 90 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=fb096d54a82a0ce754b14de3ea099a3bc0c26115



More information about the wine-cvs mailing list