From: Eunhae Choi Date: Thu, 26 Oct 2017 08:42:56 +0000 (+0900) Subject: [0.6.72] add more zero copy format X-Git-Tag: accepted/tizen/unified/20171031.055657~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F157796%2F1;p=platform%2Fcore%2Fmultimedia%2Flibmm-player.git [0.6.72] add more zero copy format Change-Id: I1f1886410f1a48ed797a4d3d2a8b373139f65dd5 --- diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec index 5d8cfa9..29d5cf3 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.71 +Version: 0.6.72 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_player_priv.c b/src/mm_player_priv.c index a6680cd..eec9781 100644 --- a/src/mm_player_priv.c +++ b/src/mm_player_priv.c @@ -2499,7 +2499,8 @@ __mmplayer_gst_decode_pad_added(GstElement *elem, GstPad *pad, gpointer data) LOGD("no video sink by null surface"); gchar *caps_str = gst_caps_to_string(caps); - if (caps_str && (strstr(caps_str, "ST12") || strstr(caps_str, "SN12"))) + if (caps_str && (strstr(caps_str, "ST12") || strstr(caps_str, "SN12") || + strstr(caps_str, "SN21") || strstr(caps_str, "S420") || strstr(caps_str, "S32"))) player->set_mode.video_zc = TRUE; MMPLAYER_FREEIF(caps_str); @@ -3324,7 +3325,8 @@ __mmplayer_gst_decode_callback(GstElement *elem, GstPad *pad, gpointer data) goto ERROR; } } else if (strstr(name, "video")) { - if (caps_str && (strstr(caps_str, "ST12") || strstr(caps_str, "SN12"))) + if (caps_str && (strstr(caps_str, "ST12") || strstr(caps_str, "SN12") || + strstr(caps_str, "SN21") || strstr(caps_str, "S420") || strstr(caps_str, "S32"))) player->set_mode.video_zc = TRUE; if (player->pipeline->videobin == NULL) {