From 4c724ae612f9120d12cbccf23ab6996d8269d027 Mon Sep 17 00:00:00 2001 From: "Sangjin, Sim" Date: Mon, 7 Aug 2017 11:26:12 +0900 Subject: [PATCH] Do not use GST_SCHEDULING_FLAG_SEEKABLE in TV Profile Signed-off-by: Sangjin, Sim Change-Id: Ib94fb444048f83567e30f73be6104efb31b031a8 --- plugins/elements/gstqueue2.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.7.4