[vlc-commits] qsv: MFX_FRAMETYPE_REF is not a keyframe
Steve Lhomme
git at videolan.org
Wed Apr 4 18:28:04 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Sep 1 14:41:27 2017 +0200| [3136def78a8356345407170f987305a6b73686cd] | committer: Steve Lhomme
qsv: MFX_FRAMETYPE_REF is not a keyframe
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3136def78a8356345407170f987305a6b73686cd
---
modules/codec/qsv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index be8f0130b0..f846f93ad1 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -643,7 +643,7 @@ static void Close(vlc_object_t *this)
*/
static void qsv_set_block_flags(block_t *block, uint16_t frame_type)
{
- if ((frame_type & MFX_FRAMETYPE_IDR) || (frame_type & MFX_FRAMETYPE_REF))
+ if (frame_type & MFX_FRAMETYPE_IDR)
block->i_flags = BLOCK_FLAG_TYPE_I;
else if ((frame_type & MFX_FRAMETYPE_P) || (frame_type & MFX_FRAMETYPE_I))
block->i_flags = BLOCK_FLAG_TYPE_P;
More information about the vlc-commits
mailing list