From 0df49803262343082d468e5f47ab278ca6d06f58 Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Tue, 13 Dec 2016 17:19:33 +0900 Subject: [PATCH] [v0.6.16] make update prerolled video frame Change-Id: Ic416677201bcfed7942f598a648d2872b5e98206 --- packaging/libmm-player.spec | 2 +- src/mm_player_priv.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec index 1daa09e..95dc388 100644 --- a/packaging/libmm-player.spec +++ b/packaging/libmm-player.spec @@ -1,6 +1,6 @@ Name: libmm-player Summary: Multimedia Framework Player Library -Version: 0.6.15 +Version: 0.6.16 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_player_priv.c b/src/mm_player_priv.c index 7e1c6b0..0401c66 100644 --- a/src/mm_player_priv.c +++ b/src/mm_player_priv.c @@ -4956,6 +4956,9 @@ __mmplayer_video_stream_decoded_preroll_cb(GstElement* object, GstBuffer *buffer MMPLAYER_FENTER(); MMPLAYER_RETURN_IF_FAIL(player && player->video_stream_cb); + /* send prerolled pkt */ + player->video_stream_prerolled = FALSE; + __mmplayer_video_stream_decoded_render_cb(object, buffer, pad, data); /* not to send prerolled pkt again */ -- 2.7.4