[MMFMWK-7825] gplay: disable subtitle when use dcss or dpu

vpu will output tile format buffer. we cannot use textoverlay
to blend subtitle to tile buffer. So disable subtitle in gplay.
Will enable subtitle when imxplayer ready.

Signed-off-by: Haihua Hu <jared.hu@nxp.com>
diff --git a/tools/gplay2/gplay2.c b/tools/gplay2/gplay2.c
index 5b6e02e..5b5363c 100755
--- a/tools/gplay2/gplay2.c
+++ b/tools/gplay2/gplay2.c
@@ -1557,6 +1557,13 @@
     text_sink =
         gst_parse_bin_from_description (options.text_sink_name, TRUE, NULL);
     gst_player_set_text_sink (player, text_sink);
+  } else if (gplay_checkfeature (VPU)
+      && (gplay_checkfeature (DCSS) || gplay_checkfeature (DPU))) {
+    options.text_sink_name = "fakesink";
+    g_print ("Set TextSink %s\n", options.text_sink_name);
+    text_sink =
+        gst_parse_bin_from_description (options.text_sink_name, TRUE, NULL);
+    gst_player_set_text_sink (player, text_sink);
   }
 
   sPlay.options = &options;