rtsp-client: block 'gst_rtsp_media_get_rates' in tv profile 08/275808/6 accepted/tizen/unified/20220603.141238 submit/tizen/20220602.083311
authorHyunsoo Park <hance.park@samsung.com>
Thu, 2 Jun 2022 05:20:52 +0000 (14:20 +0900)
committerHyunsoo Park <hance.park@samsung.com>
Thu, 2 Jun 2022 07:55:49 +0000 (16:55 +0900)
[Version] 1.20.0-26
[Issue Type] Product issue

'gst_rtsp_media_get_rates' checks GET_EVENT_SEGMENT.
But VD plugins doesn't send GET_EVENT_SEGMENT before data flow.

It is temporary solution, after VD plugins resolve this issue,
this define would be removed.

Change-Id: Ic2d1e6a5f5742d61c2aa404492e17aad704d629a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
packaging/gstreamer.spec
subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-client.c

index ce2229d..6f70674 100644 (file)
@@ -60,7 +60,7 @@
 
 Name:           %{_name}
 Version:        1.20.0
-Release:        25
+Release:        26
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 2c24fd3..44bfff7 100644 (file)
@@ -2160,10 +2160,14 @@ default_handle_play_request (GstRTSPClient * client, GstRTSPContext * ctx)
     /* the scale and speed headers must always be added if they were present in
      * the request. however, even if they were not, we still add them if
      * applied_rate or rate deviate from the "normal", i.e. 1.0 */
+#ifdef TIZEN_PROFILE_TV
+    /* Temporal workaround fix for TV */
+    rate = applied_rate = 1.0;
+#else
     if (!gst_rtsp_media_get_rates (media, &rate, &applied_rate))
       goto get_rates_error;
     g_assert (rate != 0 && applied_rate != 0);
-
+#endif
     if (scale_present || applied_rate != 1.0)
       gst_rtsp_message_take_header (ctx->response, GST_RTSP_HDR_SCALE,
           g_strdup_printf ("%1.3f", applied_rate));