Re: [FFmpeg-devel] [PATCH 3/3] libavcodec/v4l2_m2m_dec: set default time base

2018-01-08 Thread wm4
On Tue, 09 Jan 2018 00:03:15 + Lukas Rusak wrote: > I'm not really sure what to do then. > > Should I just replace time_base with pkt_timebase instead? > > Or > > Should I just remove the time base rescaling completely in v4l2_set_pts and > v4l2_get_pts as it seems to be 1:1 anyways. The

Re: [FFmpeg-devel] [PATCH 3/3] libavcodec/v4l2_m2m_dec: set default time base

2018-01-08 Thread Lukas Rusak
I'm not really sure what to do then. Should I just replace time_base with pkt_timebase instead? Or Should I just remove the time base rescaling completely in v4l2_set_pts and v4l2_get_pts as it seems to be 1:1 anyways. On Mon, Jan 8, 2018 at 3:45 PM wm4 wrote: > On Mon, 8 Jan 2018 15:27:39 -0

Re: [FFmpeg-devel] [PATCH 3/3] libavcodec/v4l2_m2m_dec: set default time base

2018-01-08 Thread wm4
On Mon, 8 Jan 2018 15:27:39 -0800 Lukas Rusak wrote: > This default time base should be set in order for ffmpeg to rescale the > timebase in v4l2_get_pts and v4l2_set_pts > > --- > libavcodec/v4l2_m2m_dec.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/v4l2_m2m_dec.c

[FFmpeg-devel] [PATCH 3/3] libavcodec/v4l2_m2m_dec: set default time base

2018-01-08 Thread Lukas Rusak
This default time base should be set in order for ffmpeg to rescale the timebase in v4l2_get_pts and v4l2_set_pts --- libavcodec/v4l2_m2m_dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c index 8308613978..4de091a011 100644 --- a/li