[0.6.275] change condition to support Gst 1.22.0 49/287549/3 accepted/tizen/unified/20230206.093751 accepted/tizen/unified/20230206.093910
authorEunhye Choi <eunhae1.choi@samsung.com>
Tue, 31 Jan 2023 08:56:23 +0000 (17:56 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Wed, 1 Feb 2023 03:18:18 +0000 (12:18 +0900)
- change condition to enable multiqueue buffering at Gst 1.22.0
- previous condition will be removed

Change-Id: I4e8aab758d891cec5bc1de291aeee6488d4e7b8e

packaging/libmm-player.spec
src/mm_player_gst.c

index b0f95a4..3c54fab 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.274
+Version:    0.6.275
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index a907ccf..585a8a7 100644 (file)
@@ -3132,7 +3132,8 @@ __mmplayer_gst_deep_element_added(GstElement *bin, GstBin *child, GstElement *el
                }
        }
 
-       if (g_strrstr(factory_name, "parsebin")) {
+       if (g_strrstr(factory_name, "parsebin") /* will be removed after gst 1.22.0 is applied */
+               || g_strrstr(factory_name, "identity")) {
                if ((!MMPLAYER_IS_RTSP_STREAMING(player)) && (!mainbin[MMPLAYER_M_DEMUXED_S_BUFFER].gst)) {
                        GstElement *ch_element = __mmplayer_gst_find_child_element(child, "multiqueue");
                        if (ch_element) {