This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
utvideo: mark output picture as keyframe.
Spotted by Антон.
tags/n0.11
Kostya Shishkov
14 years ago
parent
cc965300cb
commit
72dadaa957
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/utvideo.c
+ 2
- 0
libavcodec/utvideo.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save