[FFmpeg-devel] [PATCH] mpegts: Attempt to seek back to beginning in non-seekable mpegts files.

Michael Niedermayer michaelni at gmx.at
Mon Oct 10 14:54:10 CEST 2011


On Mon, Oct 10, 2011 at 02:49:27PM +0200, Michael Niedermayer wrote:
> On Mon, Oct 10, 2011 at 02:40:48PM +0200, Michael Niedermayer wrote:
> > On Mon, Oct 10, 2011 at 02:34:16PM +0200, Tomas Härdin wrote:
> > > Hi
> > > 
> > > Attached patch fixes demuxing/probing of
> > > http://titan.codemill.se/~tomhar/samples/not_playable_on_pipe.ts when
> > > opened via a pipe (ffplay/avplay - < not_playable_on_pipe.ts).
> > > Sent to both lists since the problem exists in both projects. Meh.
> > > Passes make fate on both as well.
> > > 
> > > /Tomas
> > 
> > >  mpegts.c |    5 ++++-
> > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > > 8bf256f2a9222860735109c531a4887ed59b763e  0001-mpegts-Attempt-to-seek-back-to-beginning-in-non-seek.patch
> > > From ca125c92842fdf509b655b012e1676446f01c898 Mon Sep 17 00:00:00 2001
> > > From: Petter Ericson <petter.ericson at codemill.se>
> > > Date: Mon, 10 Oct 2011 14:22:11 +0200
> > > Subject: [PATCH] mpegts: Attempt to seek back to beginning in non-seekable mpegts files.
> > 
> > patch applied, thanks
> 
> pushed without the pb->seekable check because when the error happens
> the message should be printed IMHO

maybe it should be less than AV_LOG_ERROR though if the underlaying
protocol isnt seekable
what do you think ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111010/70a60ef9/attachment.asc>


More information about the ffmpeg-devel mailing list