Commit 1e85b3dc authored by philipjsg's avatar philipjsg

* Every frame is a key_frame


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@470 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9cd9c039
...@@ -237,6 +237,9 @@ static int encode_frame(AVCodecContext *avctx, ...@@ -237,6 +237,9 @@ static int encode_frame(AVCodecContext *avctx,
default: default:
return -1; return -1;
} }
avctx->key_frame = 1;
avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
return dst - frame; return dst - frame;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment