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
* Every frame is a key_frame
Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Philip Gladstone
23 years ago
parent
4a663d8042
commit
4c3d2e5f86
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/pcm.c
+ 3
- 0
libavcodec/pcm.c
View File
@@ -237,6 +237,9 @@ static int encode_frame(AVCodecContext *avctx,
default:
return -1;
}
avctx->key_frame = 1;
avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
return dst - frame;
}
Write
Preview
Loading…
Cancel
Save