[FFmpeg-cvslog] r16717 - trunk/ffmpeg.c

Michael Niedermayer michaelni
Fri Jan 23 10:49:15 CET 2009


On Thu, Jan 22, 2009 at 11:42:59PM -0800, Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
> > On Thu, Jan 22, 2009 at 11:35:59AM -0800, Baptiste Coudurier wrote:
> >> Hi Michael,
> >>
> >> Michael Niedermayer wrote:
> >>> On Thu, Jan 22, 2009 at 01:04:01PM +0100, michael wrote:
> >>>> Author: michael
> >>>> Date: Thu Jan 22 13:04:01 2009
> >>>> New Revision: 16717
> >>>>
> >>>> Log:
> >>>> Handle av_read_frame() EAGAIN return.
> >>> This seems to break the ffm regression test as ffmdec.c returns EAGAIN at
> >>> EOF which causes an infinite loop ...
> >>> Iam not sure how to fix this, ideas are welcome!
> >> Yes it seems design needs to be changed:
> >> Add a new flag FLAG_EOF, and write a ffm packet with it in
> >> ffm_write_trailer, then return -1 when this packet is read.
> > 
> > i can but this still will make truncated ffm files lock the player
> > which in some cases like automated processing of files, especially
> > user provided ones is not good (uploading ffm to youtube ...)
> 
> Hummm, well, true, we have a problem here.
> So either we treat ffm in a special manner in ffmpeg.c temporarly, or we 
> disable ffm regression tests for now, up to you, it will not break FFserver.

ive worked around it in ffmpeg.c for now ...

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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- 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-cvslog/attachments/20090123/1a4d5a59/attachment.pgp>



More information about the ffmpeg-cvslog mailing list