[FFmpeg-devel] [PATCH] mpegts: Attempt to seek back to beginning in non-seekable mpegts files.
tomas.hardin at codemill.se
Mon Oct 10 14:58:47 CEST 2011
On Mon, 2011-10-10 at 14:49 +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
OK. We actually did that at first, but decided to play it safe.
More information about the ffmpeg-devel