diff options
author | wm4 <wm4@nowhere> | 2014-03-16 01:34:48 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-30 17:50:11 +0200 |
commit | 1685d198b9f9b2a3edb8d204a6f29f3c827cd599 (patch) | |
tree | 89c893ef563bf9f7607bb77c117474cd8cd0b5f6 /video/decode/lavc.h | |
parent | 1e2d28f56707886d1a40470502f18c079444aeb9 (diff) | |
download | mpv-1685d198b9f9b2a3edb8d204a6f29f3c827cd599.tar.bz2 mpv-1685d198b9f9b2a3edb8d204a6f29f3c827cd599.tar.xz |
vd_lavc: ridiculous workaround for Libav 9 compatibility
This "sometimes" crashed when seeking. The fault apparently lies in
libavcodec: the decoder returns an unreferenced frame! This is
completely insane, but somehow I'm apparently still expected to
work this around. As a reaction, I will drop Libav 9 support in the
next commit. (While this commit will go into release/0.3.)
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 867488de95..305c0b551d 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -91,5 +91,6 @@ void mp_buffer_ref(struct FrameBuffer *buffer); void mp_buffer_unref(struct FrameBuffer *buffer); bool mp_buffer_is_unique(struct FrameBuffer *buffer); void mp_buffer_pool_free(struct FramePool **pool); +bool mp_buffer_check(struct FrameBuffer *buffer); #endif |