diff --git a/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin-2.0.3/0019-aac-decoder-increase-element-rank.patch b/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin-2.0.3/0019-aac-decoder-increase-element-rank.patch new file mode 100644 index 000000000..67241d734 --- /dev/null +++ b/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin-2.0.3/0019-aac-decoder-increase-element-rank.patch @@ -0,0 +1,27 @@ +From: Javier Viguera +Date: Mon, 25 Nov 2013 13:59:00 +0100 +Subject: [PATCH] aac decoder: increase element rank + +Give priority to FSL AAC decoder over others from the community when +using gstreamer's playbin2 or gplay + +This allows to play some videos that fail otherwise. + +Signed-off-by: Javier Viguera +--- + src/audio/aac_dec/src/mfw_gst_aacdec.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/audio/aac_dec/src/mfw_gst_aacdec.c b/src/audio/aac_dec/src/mfw_gst_aacdec.c +index 6e8a37b..6103070 100755 +--- a/src/audio/aac_dec/src/mfw_gst_aacdec.c ++++ b/src/audio/aac_dec/src/mfw_gst_aacdec.c +@@ -3659,7 +3659,7 @@ IMPORTANT NOTES: + static gboolean plugin_init (GstPlugin * plugin) + { + return gst_element_register (plugin, "mfw_aacdecoder", +- GST_RANK_PRIMARY, MFW_GST_TYPE_AACDEC); ++ GST_RANK_PRIMARY+1, MFW_GST_TYPE_AACDEC); + } + + /*============================================================================= diff --git a/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bbappend b/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bbappend index cc92695ac..54e7e5a42 100644 --- a/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bbappend +++ b/meta-digi-dey/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bbappend @@ -25,6 +25,7 @@ SRC_URI = " \ file://0016-gst-fsl-plugin-Only-call-MXCFB_SET_OVERLAY_POS-with-.patch \ file://0017-gst-fsl-plugin-Do-not-blank-the-display-on-device-cl.patch \ file://0018-undefined-shm_open.patch \ + file://0019-aac-decoder-increase-element-rank.patch \ " do_install_append() {