Plateform:DM8168+EZSDK5.05
I run the decode_display_a8host_debug.xv5T example,but it blocked,and cannot be killed by CTRL+C. How to solve this problem, let the omx examples Exit gracefully?
root@dm816x-evm:/home# ./decode_display_a8host_debug.xv5T -i 1080P_HP.h264 -w 19
20 -h 1080 -f 60 -g 0 -d 0 -c h264
input file: 1080P_HP.h264
width: 1920
height: 1080
frame_rate: 60
gfx: fbdev disable
codec: h264
display_id: 0
Decoder-Display example
===============================
OMX_Init completed
UIAClient is ready to send a UIA configuration command
UIAClient received UIA_CONFIGURE_ACK
UIAClient is done sending requests
UIAClient is ready to send a UIA configuration command
UIAClient received UIA_CONFIGURE_ACK
UIAClient is done sending requests
opening file
decoder compoenent is created
PADX: 32 PADY: 24
level set is 12
scalar compoenent is created
set input port params (width = 1920, height = 1080)
set output port params (width = 1920, height = 1080)
set number of channels
set input resolution
set output resolution
enable scalar input port
got eventEnable/Disable Event
enable scalar output port
got eventEnable/Disable Event
found handle 0x130348 for component OMX.TI.VPSSM3.VFDC
got display handle
found handle 0x134350 for component OMX.TI.VPSSM3.CTRL.DC
Buffer Size computed: 4147200
set input port params (width = 1920, height = 1080)
setting input and output memory type to default
enable input port
got eventEnable/Disable Event
connect call for decoder-scalar
connect call for scalar-display
decoder inport buffers allocated
decoder outport buffers allocated
got eventState changed to: OMX_StateIdle
decoder state IDLE
Scalar input port use buffer done
scalar outport buffers allocated
got eventState changed to: OMX_StateIdle
scalar state IDLE
got eventState changed to: OMX_StateIdle
ctrl-dc state IDLE
got eventState changed to: OMX_StateIdle
display state IDLE
got eventState changed to: OMX_StateExecuting
display control state execute
got eventState changed to: OMX_StateExecuting
display state execute
got eventState changed to: OMX_StateExecuting
scalar state execute
got eventState changed to: OMX_StateExecuting
decoder state execute
file read thread created
decoder connect thread created
scalar connect thread created
display connect thread created
executing the appliaction now!!!