I like to add speed control to the demo_video program (in order to sync a stream). Hw: Pi3
I added a few lines to the video.c, and my first quiery returned with error code:
The returning error code
Code: Select all
OMX_TIME_CONFIG_SCALETYPE scaleType; ... // create video_decode // create video_render // create clock ... OMX_GetConfig(ILC_GET_HANDLE(clock), OMX_IndexConfigTimeScale, &scaleType);
OMX_ErrorHardware The hardware failed to respond as expected
I like to set scaleType.xScale with the similar OMX_SetConfig().
Please, point me to the right direction.