sf-gst-omx: add omxmjpegdec to support decoding mjpeg.

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/66e086938c0dee776b46c6ce6fee22316041a67c)
This commit is contained in:
sw.multimedia
2022-03-09 14:32:58 +08:00
committed by Andy Hu
parent 326572e55b
commit df07978514
@@ -0,0 +1,16 @@
--- a/config/stf/gstomx.conf
+++ b/config/stf/gstomx.conf
@@ -33,3 +33,12 @@
out-port-index=1
rank=1
hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual;video-framerate-integer
+
+[omxmjpegdec]
+type-name=GstOMXMJPEGDec
+core-name=/usr/lib/libsf-omx-il.so
+component-name=sf.dec.decoder.mjpeg
+in-port-index=0
+out-port-index=1
+rank=1
+hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual