From: Gilbok Lee Date: Tue, 26 Jun 2018 06:19:03 +0000 (+0900) Subject: queue2: If the buffering mode is LIVE and buffering, the buffer is not pushed. X-Git-Tag: accepted/tizen/unified/20180628.061202^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f092efe2f7d460c7d5a5e64bf37cbeca8e4860b;p=platform%2Fupstream%2Fgstreamer.git queue2: If the buffering mode is LIVE and buffering, the buffer is not pushed. Change-Id: Ic9d95bc28685730d6ea4354f4d4dae4932c2e675 --- 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