[FFmpeg-devel] [PATCH] estimate stream durations using read_timestamp

Michael Niedermayer michaelni
Sat May 24 14:15:23 CEST 2008


On Sat, May 24, 2008 at 01:04:24PM +0200, elupus wrote:
> On Sat, 24 May 2008 13:00:53 +0200, elupus wrote:
> 
> > Hi,
> > 
> > Here is a patch for libavformat to estimate stream durations using the
> > read_timestamp interface. This could most likely replace the special casing
> > for mpeg using read_packet. Thou i've not yet checked that.

your code is a duplicate of av_estimate_timings_from_pts().
One of the 2 has to be removed or you will have to explain why both are
usefull.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080524/85fec043/attachment.pgp>



More information about the ffmpeg-devel mailing list