summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-02-10 01:09:51 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-02-14 11:01:12 -0800
commit543f6df2a6c438809b93815f2752a9f56ce9c558 (patch)
tree02b8f9788ac16e5996e2369478882726e7592f5f
parent74a8fd37025e6dc5804bcb9992a1b8097a1e62f8 (diff)
downloadmpv-543f6df2a6c438809b93815f2752a9f56ce9c558.tar.bz2
mpv-543f6df2a6c438809b93815f2752a9f56ce9c558.tar.xz
dxva2: remove unused structure members
-rw-r--r--video/decode/dxva2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/video/decode/dxva2.c b/video/decode/dxva2.c
index a81fc54005..8cdda9f11b 100644
--- a/video/decode/dxva2.c
+++ b/video/decode/dxva2.c
@@ -116,7 +116,6 @@ typedef struct DXVA2Context {
IDirectXVideoDecoderService *decoder_service;
IDirectXVideoDecoder *decoder;
- GUID decoder_guid;
DXVA2_ConfigPictureDecode decoder_config;
LPDIRECT3DSURFACE9 *surfaces;
@@ -125,8 +124,6 @@ typedef struct DXVA2Context {
uint64_t surface_age;
struct mp_image_pool *sw_pool;
-
- struct dxva_context *av_dxva_ctx;
} DXVA2Context;
typedef struct DXVA2SurfaceWrapper {
@@ -605,7 +602,6 @@ static int dxva2_create_decoder(struct lavc_ctx *s, int w, int h,
goto fail;
}
- ctx->decoder_guid = device_guid;
ctx->decoder_config = config;
dxva_ctx->cfg = &ctx->decoder_config;
@@ -613,7 +609,7 @@ static int dxva2_create_decoder(struct lavc_ctx *s, int w, int h,
dxva_ctx->surface = ctx->surfaces;
dxva_ctx->surface_count = ctx->num_surfaces;
- if (IsEqualGUID(&ctx->decoder_guid, &DXVADDI_Intel_ModeH264_E))
+ if (IsEqualGUID(&device_guid, &DXVADDI_Intel_ModeH264_E))
dxva_ctx->workaround |= FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO;
return 0;