From: Jeongyoon Nam Date: Mon, 6 Mar 2023 08:02:39 +0000 (+0900) Subject: add ini to set default video codec type X-Git-Tag: accepted/tizen/unified/20230320.164222~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F289314%2F2;p=platform%2Fcore%2Fmultimedia%2Fesplusplayer.git add ini to set default video codec type [Version] 0.0.9 [Issue Type] Add Change-Id: I5aa8395925589a072793ed7404288e363b0d5ca1 --- diff --git a/config/esplusplayer.ini b/config/esplusplayer.ini index f3fd38a..a78a6d7 100644 --- a/config/esplusplayer.ini +++ b/config/esplusplayer.ini @@ -4,5 +4,6 @@ "gstparam3" : "--gst-plugin-load", "gstparam4" : "--gst-disable-registry-fork", "gstparam5" : "--gst-disable-registry-update", - "generate_dot" : false + "generate_dot" : false, + "use_default_video_codec_sw" : false } diff --git a/packaging/esplusplayer.spec b/packaging/esplusplayer.spec index b82b4ec..8e52b8d 100644 --- a/packaging/esplusplayer.spec +++ b/packaging/esplusplayer.spec @@ -2,7 +2,7 @@ %bcond_without ESPLUSPLAYER_UT Name: esplusplayer Summary: new multimedia streaming player -Version: 0.0.8 +Version: 0.0.9 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/esplusplayer/src/esplayer.cpp b/src/esplusplayer/src/esplayer.cpp index f805b53..3ded2ae 100644 --- a/src/esplusplayer/src/esplayer.cpp +++ b/src/esplusplayer/src/esplayer.cpp @@ -1625,6 +1625,10 @@ void LoadIniProperty(const Json::Value& root) { std::string key = "generate_dot"; es_conf::ini_property[key] = root.get(key, "").asBool(); LOG_DEBUG("[%s] : [%d]", key.c_str(), es_conf::ini_property[key]); + + key = "use_default_video_codec_sw"; + es_conf::ini_property[key] = root.get(key, "").asBool(); + LOG_DEBUG("[%s] : [%d]", key.c_str(), es_conf::ini_property[key]); } bool LoadIniFile() {