sf-gst-omx: update to fix issue for gst-play

1. recorrect the queue index for patches name
2. USE_BUFFER is only available for dma buffer.
   If not dma buffer, don't come into it.

sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/5249d14e587639c534b8084a541ec84bc1e953f0)
This commit is contained in:
Andy Hu
2022-01-07 21:04:22 +08:00
parent a43eb08bf4
commit a5260c099d
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,19 @@
diff -Naur a/config/stf/gstomx.conf b/config/stf/gstomx.conf
--- a/config/stf/gstomx.conf 2021-08-23 16:04:48.928905742 +0800
+++ b/config/stf/gstomx.conf 2021-08-23 16:03:38.590578856 +0800
@@ -4,7 +4,7 @@
component-name=sf.dec.decoder.h265
in-port-index=0
out-port-index=1
-rank=0
+rank=257
hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual
[omxh264dec]
@@ -13,5 +13,5 @@
component-name=sf.dec.decoder.h264
in-port-index=0
out-port-index=1
-rank=1
+rank=257
hacks=pass-profile-to-decoder;pass-color-format-to-decoder;ensure-buffer-count-actual