omx: use no-component-reconfigure hack on the Raspberry PI

This commit is contained in:
Josep Torra 2013-03-07 11:02:39 +01:00
parent 613b684f93
commit e123b2089f
2 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ component-name=OMX.broadcom.video_decode
rank=256
in-port-index=130
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]
type-name=GstOMXH264Dec
@ -14,7 +14,7 @@ component-name=OMX.broadcom.video_decode
rank=256
in-port-index=130
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]
type-name=GstOMXMPEG2Dec
@ -23,7 +23,7 @@ component-name=OMX.broadcom.video_decode
rank=256
in-port-index=130
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]
type-name=GstOMXMPEG4VideoEnc
@ -32,7 +32,7 @@ component-name=OMX.broadcom.video_encode
rank=256
in-port-index=200
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]
type-name=GstOMXH264Enc
@ -41,5 +41,5 @@ component-name=OMX.broadcom.video_encode
rank=256
in-port-index=200
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

View file

@ -2330,7 +2330,7 @@ gst_omx_error_to_string (OMX_ERRORTYPE err)
}
#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
#define DEFAULT_HACKS (0)
#endif