On 31/03/15 23:34, Diego Biurrun wrote: > On Tue, Mar 31, 2015 at 02:50:40PM -0400, Derek Buitenhuis wrote: >> From: Michael Niedermayer <[email protected]> >> >> Signed-off-by: Michael Niedermayer <[email protected]> >> Signed-off-by: Derek Buitenhuis <[email protected]> >> --- >> libavcodec/libx265.c | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) > > Just "x265" is enough as topic > > ch_O_sen > >> --- a/libavcodec/libx265.c >> +++ b/libavcodec/libx265.c >> @@ -272,6 +272,19 @@ static int libx265_encode_frame(AVCodecContext *avctx, >> AVPacket *pkt, >> >> + switch (x265pic_out.sliceType) { >> + case X265_TYPE_IDR: >> + case X265_TYPE_I: >> + avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; >> + break; >> + case X265_TYPE_P: >> + avctx->coded_frame->pict_type = AV_PICTURE_TYPE_P; >> + break; >> + case X265_TYPE_B: >> + avctx->coded_frame->pict_type = AV_PICTURE_TYPE_B; >> + break; >> + } > > probably OK > > Diego
I'll push edited tomorrow if Derek doesn't beat me . _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
