Re: [FFmpeg-devel] [PATCH] avcodec/libx265: export choosen picture types

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 07:08:00PM +0100, Derek Buitenhuis wrote: On 3/30/2015 11:45 PM, Michael Niedermayer wrote: pkt-pts = x265pic_out.pts; pkt-dts = x265pic_out.dts; +switch (x265pic_out.sliceType) { +case X265_TYPE_IDR: +case X265_TYPE_I:

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: export choosen picture types

2015-03-31 Thread Derek Buitenhuis
On 3/30/2015 11:45 PM, Michael Niedermayer wrote: pkt-pts = x265pic_out.pts; pkt-dts = x265pic_out.dts; +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: