On Mon, Mar 09, 2015 at 12:27:15PM +0100, Andreas Cadhalpun wrote: > On 09.03.2015 03:46, Michael Niedermayer wrote: > >On Mon, Mar 09, 2015 at 12:05:31AM +0100, Andreas Cadhalpun wrote: > >>Hi, > >> > >>I'm not sure what the purpose of this avio_seek was, but it can > >>result in an endless loop. Maybe it always does. > > > >ffm files can be written to and read at the same time, they can act > >as ring buffers so that data is written till the end and then > >continues at the begin > >i suspect this patch breaks that > > But if the file is not used as a ring buffer, it shouldn't play endlessly.
yes > Maybe one should add a check that the data at the beginning is > actually different than the last time? maybe reynaldo can comment on how to best detect the ring buffer use i think it always involves ffserver currently unless iam missing something. It would of course make sense to allow other applications to use it too ... maybe a simple AVOption flag could be used to enable it, not sure [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel