[SCM] libav/experimental: hevc: set the keyframe flag on output frames

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:50 UTC 2014


The following commit has been merged in the experimental branch:
commit f43789b76e661acd93c21664678f140e53cfa1fa
Author: Mickaël Raulet <mraulet at insa-rennes.fr>
Date:   Fri Jul 4 11:21:55 2014 -0400

    hevc: set the keyframe flag on output frames
    
    Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>
    Signed-off-by: Anton Khirnov <anton at khirnov.net>

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 9d7a53a..d801a47 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2503,6 +2503,8 @@ static int hevc_frame_start(HEVCContext *s)
         goto fail;
     }
 
+    s->ref->frame->key_frame = IS_IRAP(s);
+
     ret = set_side_data(s);
     if (ret < 0)
         goto fail;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list