From: Eunhye Choi Date: Tue, 4 Jul 2023 08:25:40 +0000 (+0900) Subject: [0.6.284] fix time limit to resolve mq block X-Git-Tag: accepted/tizen/unified/20230711.091722~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5efcc424eb8f74b344bfb90df28e92b7c1f3102e;p=platform%2Fcore%2Fmultimedia%2Flibmm-player.git [0.6.284] fix time limit to resolve mq block - the time limit control in mq does not work normally in case of adaptive streaming Change-Id: I93aa15581710b49a917f37ee26f77f789d34540e --- diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec index 13c4c80..0e183cb 100644 --- a/packaging/libmm-player.spec +++ b/packaging/libmm-player.spec @@ -1,6 +1,6 @@ Name: libmm-player Summary: Multimedia Framework Player Library -Version: 0.6.283 +Version: 0.6.284 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_player_gst.c b/src/mm_player_gst.c index 60efc67..88f4f8e 100644 --- a/src/mm_player_gst.c +++ b/src/mm_player_gst.c @@ -2955,12 +2955,6 @@ __mmplayer_gst_select_stream (GstElement * uridecodebin, GstStreamCollection * c goto EXIT; } } - } else { - if ((stype & GST_STREAM_TYPE_AUDIO) || (stype & GST_STREAM_TYPE_VIDEO)) { - LOGD("No caps info, skip it"); - ret = 0; - goto EXIT; - } } switch (stype) { @@ -3158,10 +3152,15 @@ __mmplayer_gst_deep_element_added(GstElement *bin, GstBin *child, GstElement *el if (g_strrstr(factory_name, "urisourcebin")) { GstElement *dbin3 = __mmplayer_gst_find_child_element(child, "decodebin3"); - if (dbin3) + if (dbin3) { + GstElement *mq = __mmplayer_gst_find_child_element(child, "multiqueue"); + if (mq) + g_object_set(G_OBJECT(mq), "use-interleave", FALSE, NULL); + __mmplayer_decodebin3_setup(GST_BIN(dbin3), data); - else + } else { LOGW("failed to find decodebin3"); + } } else if (g_strrstr(factory_name, "parsebin")) { g_object_set(G_OBJECT(child), "message-forward", TRUE, NULL); /* urisourcebin */ __mmplayer_parsebin_setup(GST_BIN(element), data);