Commit bf1d561f authored by Hugues Fruchet's avatar Hugues Fruchet Committed by Rafaël Carré

omxil: Enable pts mode for OMX.STM.Video.Decoder

OMX.STM.Video.Decoder requires input buffers with pts timestamp.
A debug trace is added to inform if pts mode is enabled and for
which codec.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 848b57c7
......@@ -1109,6 +1109,13 @@ loaded:
p_dec->b_need_packetized = true;
if (!strcmp(p_sys->psz_component, "OMX.TI.DUCATI1.VIDEO.DECODER"))
p_sys->b_use_pts = 1;
if (!strcmp(p_sys->psz_component, "OMX.STM.Video.Decoder"))
p_sys->b_use_pts = 1;
if (p_sys->b_use_pts)
msg_Dbg( p_dec, "using pts timestamp mode for %s", p_sys->psz_component);
return VLC_SUCCESS;
error:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment