From 803fc020265a5cee412097e259e4f228782f9aa7 Mon Sep 17 00:00:00 2001 From: Eunhye Choi Date: Mon, 20 Apr 2020 19:30:59 +0900 Subject: [PATCH] [player] Add default video codec type - 'element exclude keyword', 'unsupported codec keyword' is used when 'use decodebin = yes' which is previous player path. - the previous player path and related parameters will be removed before 6.0 M2 release. Change-Id: I690b44780572e31ab9c7e1275de922e42221f2af --- mmfw-sysconf-simulator/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-artik10/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-hawkp/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-n4/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-rpi3-spk/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-rpi3/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-tm1/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-tw1/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-tw2/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-tw3/etc/multimedia/mmfw_player.ini | 3 +++ mmfw-sysconf-target-u3/etc/multimedia/mmfw_player.ini | 3 +++ 11 files changed, 33 insertions(+) diff --git a/mmfw-sysconf-simulator/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-simulator/etc/multimedia/mmfw_player.ini index d120e6f..92306e9 100644 --- a/mmfw-sysconf-simulator/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-simulator/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ffmpegcolorspace ; decoder element keyword for resource management. video codec element hw = video codec element sw = avdec,maru +video codec default type = sw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = ffdec_, omx_, v4l2 ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-artik10/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-artik10/etc/multimedia/mmfw_player.ini index 36bd893..ff5b3b9 100644 --- a/mmfw-sysconf-target-artik10/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-artik10/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = nxvideodec video codec element sw = avdec +video codec default type = hw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2,omx ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-hawkp/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-hawkp/etc/multimedia/mmfw_player.ini index 887bdac..01f0c65 100644 --- a/mmfw-sysconf-target-hawkp/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-hawkp/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = ; omx is included in this target but it is not verified. video codec element sw = avdec +video codec default type = sw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2,omx ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-n4/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-n4/etc/multimedia/mmfw_player.ini index a1520f6..e900636 100644 --- a/mmfw-sysconf-target-n4/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-n4/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = omx video codec element sw = avdec +video codec default type = hw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2 ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-rpi3-spk/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-rpi3-spk/etc/multimedia/mmfw_player.ini index dfbec7a..a4fbc50 100644 --- a/mmfw-sysconf-target-rpi3-spk/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-rpi3-spk/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = video codec element sw = avdec +video codec default type = sw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2,omx ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-rpi3/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-rpi3/etc/multimedia/mmfw_player.ini index dfbec7a..a4fbc50 100644 --- a/mmfw-sysconf-target-rpi3/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-rpi3/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = video codec element sw = avdec +video codec default type = sw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2,omx ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_player.ini index 5d814a1..674f6b3 100644 --- a/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = sprd video codec element sw = avdec +video codec default type = hw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2 ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-tw1/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-tw1/etc/multimedia/mmfw_player.ini index a1520f6..e900636 100644 --- a/mmfw-sysconf-target-tw1/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-tw1/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = omx video codec element sw = avdec +video codec default type = hw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2 ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-tw2/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-tw2/etc/multimedia/mmfw_player.ini index a1520f6..e900636 100644 --- a/mmfw-sysconf-target-tw2/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-tw2/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = omx video codec element sw = avdec +video codec default type = hw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2 ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-tw3/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-tw3/etc/multimedia/mmfw_player.ini index b18a9bb..9f5e3ab 100644 --- a/mmfw-sysconf-target-tw3/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-tw3/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = omx video codec element sw = avdec +video codec default type = hw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2 ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer diff --git a/mmfw-sysconf-target-u3/etc/multimedia/mmfw_player.ini b/mmfw-sysconf-target-u3/etc/multimedia/mmfw_player.ini index 887bdac..01f0c65 100644 --- a/mmfw-sysconf-target-u3/etc/multimedia/mmfw_player.ini +++ b/mmfw-sysconf-target-u3/etc/multimedia/mmfw_player.ini @@ -10,6 +10,7 @@ video converter element = ; decoder element keyword for resource management. video codec element hw = ; omx is included in this target but it is not verified. video codec element sw = avdec +video codec default type = sw ; hw or sw audio codec element hw = audio codec element sw = avdec @@ -37,9 +38,11 @@ skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used +; this works if 'use decodebin = yes' element exclude keyword = v4l2,omx ; comma separated list of tocken +; this works if 'use decodebin = yes' unsupported codec keyword = divx ; parameters for initializing gstreamer -- 2.34.1