1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

strmbase: Use nameless unions/structs.

This commit is contained in:
Alexandre Julliard 2023-07-18 19:55:55 +02:00
parent 0724f94fa7
commit f5c4ae7c10
2 changed files with 3 additions and 5 deletions

View file

@ -132,10 +132,10 @@ void strmbase_dump_media_type(const AM_MEDIA_TYPE *mt)
if (vih->dwInterlaceFlags) TRACE("interlace flags %#lx, ", vih->dwInterlaceFlags);
if (vih->dwCopyProtectFlags) TRACE("copy-protection flags %#lx, ", vih->dwCopyProtectFlags);
TRACE("aspect ratio %lu/%lu, ", vih->dwPictAspectRatioX, vih->dwPictAspectRatioY);
if (vih->u.dwControlFlags) TRACE("control flags %#lx, ", vih->u.dwControlFlags);
if (vih->u.dwControlFlags & AMCONTROL_COLORINFO_PRESENT)
if (vih->dwControlFlags) TRACE("control flags %#lx, ", vih->dwControlFlags);
if (vih->dwControlFlags & AMCONTROL_COLORINFO_PRESENT)
{
const DXVA_ExtendedFormat *colorimetry = (const DXVA_ExtendedFormat *)&vih->u.dwControlFlags;
const DXVA_ExtendedFormat *colorimetry = (const DXVA_ExtendedFormat *)&vih->dwControlFlags;
TRACE("chroma site %#x, range %#x, matrix %#x, lighting %#x, primaries %#x, transfer function %#x, ",
colorimetry->VideoChromaSubsampling, colorimetry->NominalRange, colorimetry->VideoTransferMatrix,

View file

@ -22,8 +22,6 @@
#define __WINE_STRMBASE_PRIVATE_H
#include <assert.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#include "dshow.h"
#include "uuids.h"