[FFmpeg-devel] [RFC] Add duration info to AVFrame
Michael Niedermayer
michaelni at gmx.at
Fri Mar 9 18:23:12 CET 2012
On Thu, Mar 08, 2012 at 04:22:21PM +0100, Nicolas George wrote:
> Le nonidi 19 ventôse, an CCXX, Stefano Sabatini a écrit :
> > 1. I could export pkt_duration in AVFrame, like it is done with
> > pkt_pts, duration is expressed in stream time_base units.
> >
> > This alone is not sufficient, because to decode pkt* things we need
> > to reference the AVStream, which is not always available.
>
> IMHO, there is no reason th have pkt_pts and not pkt_duration.
makes sense to me too
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120309/1c6ca631/attachment.asc>
More information about the ffmpeg-devel
mailing list