summaryrefslogtreecommitdiffstats
path: root/demux/demux_lavf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r--demux/demux_lavf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index e7d144eb71..350fe54b66 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -402,6 +402,7 @@ static void handle_stream(demuxer_t *demuxer, int i)
st->attached_pic.size);
sh->attached_picture->pts = 0;
talloc_steal(sh, sh->attached_picture);
+ sh->attached_picture->keyframe = true;
}
sh_video->format = codec->codec_tag;