diff --git a/parsers.c b/parsers.c index 345425b7..1b9e3470 100644 --- a/parsers.c +++ b/parsers.c @@ -483,6 +483,8 @@ parse_mpeg2video_pic_start(th_transport_t *t, th_stream_t *st, th_pkt_t *pkt, if(pct < PKT_I_FRAME || pct > PKT_B_FRAME) return 1; /* Illegal picture_coding_type */ + pkt->pkt_frametype = pct; + /* If this is the first I-frame seen, set dts_start as a reference offset */ if(pct == PKT_I_FRAME && t->tht_dts_start == AV_NOPTS_VALUE)