diff options
author | wm4 <wm4@nowhere> | 2016-04-29 23:28:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-29 23:30:01 +0200 |
commit | 64f9e48bf1d67ed22f2488f7135a082a8ffbe716 (patch) | |
tree | 54af436abd781db730d18f5b5a387193f883b560 /video/decode/d3d.h | |
parent | 016eab220971ecd3d4509bb4936cb579e9b4a7c3 (diff) | |
download | mpv-64f9e48bf1d67ed22f2488f7135a082a8ffbe716.tar.bz2 mpv-64f9e48bf1d67ed22f2488f7135a082a8ffbe716.tar.xz |
d3d11va, dxva2: return the format struct directly
Slight simplification, IMHO.
Diffstat (limited to 'video/decode/d3d.h')
-rw-r--r-- | video/decode/d3d.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/decode/d3d.h b/video/decode/d3d.h index 21b930528a..3f5b8aebe7 100644 --- a/video/decode/d3d.h +++ b/video/decode/d3d.h @@ -33,8 +33,7 @@ struct d3d_decoded_format { struct d3d_decoder_fmt { const GUID *guid; - int mpfmt_decoded; - DWORD dxfmt_decoded; // D3DFORMAT or DXGI_FORMAT + const struct d3d_decoded_format *format; }; int d3d_probe_codec(const char *codec); |