mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-14 07:09:06 +00:00
Merge commit 'ba2e07909b848e583245856a59d0fe1dd08f917e'
* commit 'ba2e07909b848e583245856a59d0fe1dd08f917e': rtpdec_vp8: Set the keyframe flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
de4ae9fb64
@ -261,6 +261,8 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8,
|
|||||||
return ret;
|
return ret;
|
||||||
if (vp8->sequence_dirty)
|
if (vp8->sequence_dirty)
|
||||||
pkt->flags |= AV_PKT_FLAG_CORRUPT;
|
pkt->flags |= AV_PKT_FLAG_CORRUPT;
|
||||||
|
if (vp8->is_keyframe)
|
||||||
|
pkt->flags |= AV_PKT_FLAG_KEY;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user