diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 21:14:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 21:15:28 +0100 |
commit | de4ae9fb643e0258249165124dc87c60008574b8 (patch) | |
tree | 4b4350967eaa321691e3cb3ae581c66bf7450f39 /libavformat | |
parent | 0f55bc29d41585d110b126cb4ed4b395fd46d7ac (diff) | |
parent | ba2e07909b848e583245856a59d0fe1dd08f917e (diff) | |
download | ffmpeg-de4ae9fb643e0258249165124dc87c60008574b8.tar.gz |
Merge commit 'ba2e07909b848e583245856a59d0fe1dd08f917e'
* commit 'ba2e07909b848e583245856a59d0fe1dd08f917e':
rtpdec_vp8: Set the keyframe flag
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_vp8.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index b4b4f2207d..e756bf45bc 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; } |