summaryrefslogtreecommitdiff
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2016-09-04 09:47:29 -0700
committerTimo Rothenpieler <timo@rothenpieler.org>2016-09-06 21:52:05 +0200
commit86910b15c9ee2d5c377b137ec653c044572f94ff (patch)
tree08f2113db51bff5dd94e6b7b7330f057e5d9a1c6 /libavcodec/version.h
parent1891dfe0130991ee138d01f2877678de717b9e23 (diff)
downloadffmpeg-86910b15c9ee2d5c377b137ec653c044572f94ff.tar.gz
cuvid: Implement flush to support seeking in media players
Right now, if we attempt to use cuvid in a media player and then try to seek, the decoder will happily pass out whatever frames were already in flight before the seek. There is both the output queue in our code and some number of frames within the cuvid decoder that need to be accounted for. cuvid doesn't support flush, so our only choice is to do a brute-force re-creation of the decoder, which also implies re-creating the parser, but this is fine. The only subtlty is that there is sanity check code in decoder initialisation that wants to make sure the HWContextFrame hasn't already been initialised. This is a fair check to do at the beginning but not after a flush, so it has to be made conditional. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r--libavcodec/version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h
index d883b3cab5..f5dd1181ff 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 57
#define LIBAVCODEC_VERSION_MINOR 55
-#define LIBAVCODEC_VERSION_MICRO 100
+#define LIBAVCODEC_VERSION_MICRO 101
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \