mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Add HW video engine support (#179)
* Add Cedar HW video decoder support * Add sunxifbsink gstreamer plugin * sunxifbsink: remove warning log gst-omx: remove resolution check after crop * Add gstreamer scripts * review comments fixes * ffmpeg: enable h264_omx encoder * add missing hashes and use defined git commit for libcedar * mv miyoo specific patches to board * make `gst-omx.mk` less platform specfic * Add header python interpreter to gst-raw.py * Add videoscale with nearest-neighbour to play video with higher resolutions fluently * Use HW scaler * libcedarc: fix crash when playing 640x480 video * kernel: Add patch to increase VRAM * Add fast gstreamer player * fix gst-play hangs * Add matroska plugin * remove target --------- Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From 68550592fadb8aae28f3c84813e76d2c07ba4059 Mon Sep 17 00:00:00 2001
|
||||
From: tiopex <tiopxyz@gmail.com>
|
||||
Date: Wed, 11 Jun 2025 13:14:33 +0200
|
||||
Subject: [PATCH] Remove check error on port disabling
|
||||
|
||||
---
|
||||
omx/gstomx.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/omx/gstomx.c b/omx/gstomx.c
|
||||
index 038ce32..d9f8af0 100644
|
||||
--- a/omx/gstomx.c
|
||||
+++ b/omx/gstomx.c
|
||||
@@ -3185,8 +3185,8 @@ gst_omx_port_wait_enabled_unlocked (GstOMXPort * port, GstClockTime timeout)
|
||||
|
||||
if (timeout == 0) {
|
||||
if (port->enabled_pending || port->disabled_pending)
|
||||
- err = OMX_ErrorTimeout;
|
||||
- goto done;
|
||||
+ err = OMX_ErrorNone;
|
||||
+ //goto done;
|
||||
}
|
||||
|
||||
/* And now wait until the enable/disable command is finished */
|
||||
@@ -3210,8 +3210,8 @@ gst_omx_port_wait_enabled_unlocked (GstOMXPort * port, GstClockTime timeout)
|
||||
GST_ERROR_OBJECT (comp->parent,
|
||||
"Timeout waiting for %s port %u to be %s", comp->name, port->index,
|
||||
(enabled ? "enabled" : "disabled"));
|
||||
- err = OMX_ErrorTimeout;
|
||||
- goto done;
|
||||
+ err = OMX_ErrorNone;
|
||||
+ //goto done;
|
||||
} else if (last_error != OMX_ErrorNone) {
|
||||
GST_ERROR_OBJECT (comp->parent,
|
||||
"Got error while waiting for %s port %u to be %s: %s (0x%08x)",
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Reference in New Issue
Block a user