vlc | branch: master | Hugues Fruchet <[email protected]> | Wed Dec 19 14:04:27 2012 +0100| [bf1d561ff3c8ff54aabb664738f16378d2cfc381] | committer: 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: Rafaël Carré <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf1d561ff3c8ff54aabb664738f16378d2cfc381 --- modules/codec/omxil/omxil.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c index 7794dee..c2426f8 100644 --- a/modules/codec/omxil/omxil.c +++ b/modules/codec/omxil/omxil.c @@ -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: _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
