On Sun, Jul 20, 2014 at 05:27:16PM +0200, wm4 wrote:
> On Sun, 20 Jul 2014 17:01:42 +0200
> Michael Niedermayer wrote:
[...]
> > also some codecs allocate multiple AVFrames with different dimensions
> > hevc is one.
> > and hypothetical future support of things like spatial scalability
> > would
On Sun, 20 Jul 2014 17:01:42 +0200
Michael Niedermayer wrote:
> On Sun, Jul 20, 2014 at 04:26:01PM +0200, wm4 wrote:
> > On Fri, 18 Jul 2014 13:12:39 +0200
> > Michael Niedermayer wrote:
> >
> > > On Fri, Jul 18, 2014 at 12:47:06PM +0200, Hendrik Leppkes wrote:
> > > > Am 18.07.2014 12:04 schri
On Sun, Jul 20, 2014 at 04:26:01PM +0200, wm4 wrote:
> On Fri, 18 Jul 2014 13:12:39 +0200
> Michael Niedermayer wrote:
>
> > On Fri, Jul 18, 2014 at 12:47:06PM +0200, Hendrik Leppkes wrote:
> > > Am 18.07.2014 12:04 schrieb "Benoit Fouet" :
> > > >
> > > > In order to easily correlate pkt_duratio
On Fri, 18 Jul 2014 13:12:39 +0200
Michael Niedermayer wrote:
> On Fri, Jul 18, 2014 at 12:47:06PM +0200, Hendrik Leppkes wrote:
> > Am 18.07.2014 12:04 schrieb "Benoit Fouet" :
> > >
> > > In order to easily correlate pkt_duration to its real duration, add the
> > > packet time base information
On Fri, Jul 18, 2014 at 01:12:39PM +0200, Michael Niedermayer wrote:
> On Fri, Jul 18, 2014 at 12:47:06PM +0200, Hendrik Leppkes wrote:
> > Am 18.07.2014 12:04 schrieb "Benoit Fouet" :
> > >
> > > In order to easily correlate pkt_duration to its real duration, add the
> > > packet time base informa
On Fri, Jul 18, 2014 at 12:47:06PM +0200, Hendrik Leppkes wrote:
> Am 18.07.2014 12:04 schrieb "Benoit Fouet" :
> >
> > In order to easily correlate pkt_duration to its real duration, add the
> > packet time base information to the frame structure.
> >
> > Fixes issue #3052
>
> The code in avcodec
Am 18.07.2014 12:04 schrieb "Benoit Fouet" :
>
> In order to easily correlate pkt_duration to its real duration, add the
> packet time base information to the frame structure.
>
> Fixes issue #3052
The code in avcodec doesn't know the timebase, unless the user tells it.
And if the user wants to t
Le decadi 30 messidor, an CCXXII, Benoit Fouet a écrit :
> +if (frame && av_frame_get_pkt_timebase(frame).num)
> +avpkt->duration = av_rescale_q(av_frame_get_pkt_duration(frame),
> + av_frame_get_pkt_timebase(frame),
> +
In order to easily correlate pkt_duration to its real duration, add the
packet time base information to the frame structure.
Fixes issue #3052
---
libavcodec/utils.c | 6 ++
libavutil/frame.c | 3 +++
libavutil/frame.h | 11 +++
3 files changed, 20 insertions(+)
diff --git a/liba