diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index fc86ac1dd3b5d078f92ae9657151788e54a2f3ee..1a7124054d6d2c67f15aea324968bf14a15502d3 100644 --- a/libavformat/rtpdec_vp8.c +++ b/libavformat/rtpdec_vp8.c @@ -261,6 +261,8 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, return ret; if (vp8->sequence_dirty) pkt->flags |= AV_PKT_FLAG_CORRUPT; + if (vp8->is_keyframe) + pkt->flags |= AV_PKT_FLAG_KEY; return 0; }