From 0f092efe2f7d460c7d5a5e64bf37cbeca8e4860b Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Tue, 26 Jun 2018 15:19:03 +0900 Subject: [PATCH] queue2: If the buffering mode is LIVE and buffering, the buffer is not pushed. Change-Id: Ic9d95bc28685730d6ea4354f4d4dae4932c2e675 --- plugins/elements/gstqueue2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c index ca873ad..4cdd635 100644 --- a/plugins/elements/gstqueue2.c +++ b/plugins/elements/gstqueue2.c @@ -3204,7 +3204,8 @@ gst_queue2_loop (GstPad * pad) g_timer_continue (queue->out_timer); } #ifdef TIZEN_FEATURE_RTSPSRC_MODIFICATION - if (!queue->is_buffering) { + /* if buffering mode is GST_BUFFERING_LIVE, it is rtsp streaming */ + if (!((queue->mode == GST_BUFFERING_LIVE) && queue->is_buffering)) { ret = gst_queue2_push_one (queue); } #else -- 2.7.4