projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc96530
)
utvideo: mark output picture as keyframe.
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 24 Mar 2012 18:54:31 +0000
(19:54 +0100)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 24 Mar 2012 19:21:33 +0000
(20:21 +0100)
Spotted by Антон.
libavcodec/utvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/utvideo.c
b/libavcodec/utvideo.c
index
884b16e
..
ebde38d
100644
(file)
--- a/
libavcodec/utvideo.c
+++ b/
libavcodec/utvideo.c
@@
-492,6
+492,8
@@
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
break;
}
+ c->pic.key_frame = 1;
+ c->pic.pict_type = AV_PICTURE_TYPE_I;
*data_size = sizeof(AVFrame);
*(AVFrame*)data = c->pic;