[FFmpeg-cvslog] r17905 - trunk/libavformat/utils.c

Reimar Döffinger Reimar.Doeffinger
Fri Mar 13 20:55:08 CET 2009


On Fri, Mar 13, 2009 at 12:38:08PM -0700, Baptiste Coudurier wrote:
> On 3/9/2009 11:50 AM, Baptiste Coudurier wrote:
> > On 3/9/2009 8:36 AM, Reimar D?ffinger wrote:
> >>> if (tag == TAG_VIDEOSTREAM && !vst) {
> >> but this only seems to work as long as there is no data packet
> >> in-between.
> >> A cleanup job for the maintainer maybe? :-)
> > 
> > I'll have a look.
> 
> Should be better now.

That part yes, but seeking is still broken for some reason.
There are two things at least that are still wrong I think, in line 113:
> av_set_pts_info(vst, 64, 256, swf->frame_rate);
> vst->codec->time_base = (AVRational){ 256, swf->frame_rate };

I think the second line should not be there.
And in the first line, the "64" should be "16", because pkt->pts is read
from a 16-bit frame counter.




More information about the ffmpeg-cvslog mailing list