From: lekma Date: Wed, 31 Aug 2016 14:24:18 +0000 (+0200) Subject: [transcode]: picture type X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25230a1f3e1ae0d8e2bfd8cfdb1427bba1534c82;p=thirdparty%2Ftvheadend.git [transcode]: picture type --- diff --git a/src/transcoding/transcode/video.c b/src/transcoding/transcode/video.c index 679d67212..b46f8f2d4 100644 --- a/src/transcoding/transcode/video.c +++ b/src/transcoding/transcode/video.c @@ -249,11 +249,11 @@ tvh_video_context_wrap(TVHContext *self, AVPacket *avpkt, th_pkt_t *pkt) if (qsdata && qsdata_size >= 5) { pict_type = qsdata[4]; } -/*#if FF_API_CODED_FRAME +#if FF_API_CODED_FRAME else if (self->oavctx->coded_frame) { pict_type = self->oavctx->coded_frame->pict_type; } -#endif*/ +#endif switch (pict_type) { case AV_PICTURE_TYPE_I: pkt->v.pkt_frametype = PKT_I_FRAME;