Commit 4c3d2e5f authored by Philip Gladstone's avatar Philip Gladstone

* Every frame is a key_frame

Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4a663d80
......@@ -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;
}
......
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