From: Sangjin, Sim Date: Mon, 7 Aug 2017 02:26:12 +0000 (+0900) Subject: Do not use GST_SCHEDULING_FLAG_SEEKABLE in TV Profile X-Git-Tag: accepted/tizen/4.0/unified/20170828.222559~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F142646%2F2;p=platform%2Fupstream%2Fgstreamer.git Do not use GST_SCHEDULING_FLAG_SEEKABLE in TV Profile Signed-off-by: Sangjin, Sim Change-Id: Ib94fb444048f83567e30f73be6104efb31b031a8 --- diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c index 9a81183..ae6e8bb 100644 --- a/plugins/elements/gstqueue2.c +++ b/plugins/elements/gstqueue2.c @@ -3269,6 +3269,7 @@ gst_queue2_handle_src_query (GstPad * pad, GstObject * parent, GstQuery * query) gst_query_parse_scheduling (query, &flags, NULL, NULL, NULL); #ifdef TIZEN_FEATURE_QUEUE2_MODIFICATION +#ifndef TIZEN_PROFILE_TV if (!(flags & GST_SCHEDULING_FLAG_SEEKABLE)) { GST_DEBUG_OBJECT(queue, "peer can support only push mode"); gst_query_set_scheduling (query, flags, 0, -1, 0); @@ -3276,6 +3277,7 @@ gst_queue2_handle_src_query (GstPad * pad, GstObject * parent, GstQuery * query) break; } #endif +#endif GST_DEBUG_OBJECT(queue, "peer can support pull mode"); /* we can operate in pull mode when we are using a tempfile */