[FFmpeg-devel] [PATCH 8/8] ffmdec: don't seek back at EOF
Michael Niedermayer
michaelni at gmx.at
Mon Mar 9 14:21:35 CET 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/bf2cdca0/attachment.asc>
More information about the ffmpeg-devel
mailing list