summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-30 21:07:38 +0100
committerwm4 <wm4@nowhere>2017-10-30 21:07:48 +0100
commita18a7cd4f568aa934be30b2cdf813a0879b8db19 (patch)
tree1f859ec4ba2f2fa8dcabcd443591b29134053d74 /video/decode/lavc.h
parenta7f4ecb01299835a1afe5cc051be1e9bb5d4f15d (diff)
downloadmpv-a18a7cd4f568aa934be30b2cdf813a0879b8db19.tar.bz2
mpv-a18a7cd4f568aa934be30b2cdf813a0879b8db19.tar.xz
vd_lavc: move display mastering data stuff to mp_image
This is where it should be. It only wasn't because of an old libavcodec bug, that returned the side data only on every IDR. This required some sort of caching, which is now dropped. (mp_image wouldn't have been able to do this kind of caching, because this code is stateless.) We don't support these old libavcodec versions anymore, which is why this is not needed anymore. Also move initialization of rotation/stereo stuff to dec_video.c.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index 810d7e393c..5795af3ecf 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -40,9 +40,6 @@ typedef struct lavc_ctx {
bool intra_only;
int framedrop_flags;
- // For HDR side-data caching
- float cached_sig_peak;
-
bool hw_probing;
struct demux_packet **sent_packets;
int num_sent_packets;