diff options
author | wm4 <wm4@nowhere> | 2014-03-17 18:19:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-17 18:19:03 +0100 |
commit | 8fbf0300d8248400e1c21784c3abe931f553383b (patch) | |
tree | dc92128e9a112cd3c57952c5f4c4dc657e3fcd84 /video/decode/lavc.h | |
parent | 3db365322737b50e9e1437ff93e1631f71f811bb (diff) | |
download | mpv-8fbf0300d8248400e1c21784c3abe931f553383b.tar.bz2 mpv-8fbf0300d8248400e1c21784c3abe931f553383b.tar.xz |
vd_lavc: reinit hwdec on profile changes
Needed in theory. I don't know if there are even any real-world files
which change the profile mid-stream.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index 35c66fc19b..16d3251725 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -40,6 +40,7 @@ typedef struct lavc_ctx { int hwdec_fmt; int hwdec_w; int hwdec_h; + int hwdec_profile; } vd_ffmpeg_ctx; struct vd_lavc_hwdec { |