projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e231902
)
examples/qsvdec: do not set the deprecated field refcounted_frames
author
Zhong Li
<zhong.li@intel.com>
Thu, 28 Dec 2017 09:38:33 +0000
(17:38 +0800)
committer
Luca Barbato
<lu_zero@gentoo.org>
Fri, 29 Dec 2017 16:13:02 +0000
(16:13 +0000)
It is used by the deprecated API avcodec_decode_video2 and ignored by the
new decode APIs (avcodec_send_packet/avcodec_receive_frame).
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
doc/examples/qsvdec.c
patch
|
blob
|
blame
|
history
diff --git
a/doc/examples/qsvdec.c
b/doc/examples/qsvdec.c
index
46e6ddc
..
cede615
100644
(file)
--- a/
doc/examples/qsvdec.c
+++ b/
doc/examples/qsvdec.c
@@
-210,7
+210,6
@@
int main(int argc, char **argv)
video_st->codecpar->extradata_size);
decoder_ctx->extradata_size = video_st->codecpar->extradata_size;
}
- decoder_ctx->refcounted_frames = 1;
decoder_ctx->opaque = &decode;
decoder_ctx->get_format = get_format;