mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-11 16:55:23 +00:00
omx: use no-component-reconfigure hack on the Raspberry PI
This commit is contained in:
parent
613b684f93
commit
e123b2089f
2 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@ component-name=OMX.broadcom.video_decode
|
||||||
rank=256
|
rank=256
|
||||||
in-port-index=130
|
in-port-index=130
|
||||||
out-port-index=131
|
out-port-index=131
|
||||||
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum
|
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum;no-component-reconfigure
|
||||||
|
|
||||||
[omxh264dec]
|
[omxh264dec]
|
||||||
type-name=GstOMXH264Dec
|
type-name=GstOMXH264Dec
|
||||||
|
@ -14,7 +14,7 @@ component-name=OMX.broadcom.video_decode
|
||||||
rank=256
|
rank=256
|
||||||
in-port-index=130
|
in-port-index=130
|
||||||
out-port-index=131
|
out-port-index=131
|
||||||
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum
|
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum;no-component-reconfigure
|
||||||
|
|
||||||
[omxmpeg2dec]
|
[omxmpeg2dec]
|
||||||
type-name=GstOMXMPEG2Dec
|
type-name=GstOMXMPEG2Dec
|
||||||
|
@ -23,7 +23,7 @@ component-name=OMX.broadcom.video_decode
|
||||||
rank=256
|
rank=256
|
||||||
in-port-index=130
|
in-port-index=130
|
||||||
out-port-index=131
|
out-port-index=131
|
||||||
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum
|
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum;no-component-reconfigure
|
||||||
|
|
||||||
[omxmpeg4videoenc]
|
[omxmpeg4videoenc]
|
||||||
type-name=GstOMXMPEG4VideoEnc
|
type-name=GstOMXMPEG4VideoEnc
|
||||||
|
@ -32,7 +32,7 @@ component-name=OMX.broadcom.video_encode
|
||||||
rank=256
|
rank=256
|
||||||
in-port-index=200
|
in-port-index=200
|
||||||
out-port-index=201
|
out-port-index=201
|
||||||
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum
|
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum;no-component-reconfigure
|
||||||
|
|
||||||
[omxh264enc]
|
[omxh264enc]
|
||||||
type-name=GstOMXH264Enc
|
type-name=GstOMXH264Enc
|
||||||
|
@ -41,5 +41,5 @@ component-name=OMX.broadcom.video_encode
|
||||||
rank=256
|
rank=256
|
||||||
in-port-index=200
|
in-port-index=200
|
||||||
out-port-index=201
|
out-port-index=201
|
||||||
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum
|
hacks=no-empty-eos-buffer;no-component-role;port-actual-count-is-minimum;no-component-reconfigure
|
||||||
|
|
||||||
|
|
|
@ -2330,7 +2330,7 @@ gst_omx_error_to_string (OMX_ERRORTYPE err)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(USE_OMX_TARGET_RPI)
|
#if defined(USE_OMX_TARGET_RPI)
|
||||||
#define DEFAULT_HACKS (GST_OMX_HACK_NO_EMPTY_EOS_BUFFER | GST_OMX_HACK_NO_COMPONENT_ROLE | GST_OMX_HACK_PORT_ACTUAL_COUNT_IS_MINIMUM)
|
#define DEFAULT_HACKS (GST_OMX_HACK_NO_EMPTY_EOS_BUFFER | GST_OMX_HACK_NO_COMPONENT_ROLE | GST_OMX_HACK_PORT_ACTUAL_COUNT_IS_MINIMUM | GST_OMX_HACK_NO_COMPONENT_RECONFIGURE)
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_HACKS (0)
|
#define DEFAULT_HACKS (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue