From b93629f26e5711ec45e5209fde72b162d12cdf56 Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Wed, 29 Jan 2014 17:56:38 +0200 Subject: [PATCH] Re-enable P frames. It was inadvertently disabled due to an aborted merge. --- src/encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoder.c b/src/encoder.c index 127a43c8..f3575add 100644 --- a/src/encoder.c +++ b/src/encoder.c @@ -324,7 +324,7 @@ void encode_one_frame(encoder_control* encoder) bitstream_clear_buffer(encoder->stream); } else { cabac_start(&cabac); - encoder->in.cur_pic->slicetype = SLICE_I; + encoder->in.cur_pic->slicetype = SLICE_P; encoder->in.cur_pic->type = NAL_TRAIL_R; scalinglist_process(); search_slice_data(encoder);