[FFmpeg-devel] [PATCH] Make libavfilter propagate pkt.pos information through the filterchain
Stefano Sabatini
stefano.sabatini-lala
Sat Mar 13 12:26:03 CET 2010
On date Saturday 2010-03-06 22:26:48 +0100, Michael Niedermayer encoded:
> On Sat, Mar 06, 2010 at 07:01:06PM +0100, Stefano Sabatini wrote:
> > Hi, as in subject.
> [...]
> > diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
> > index 832f421..f181689 100644
> > --- a/libavfilter/avfilter.h
> > +++ b/libavfilter/avfilter.h
> > @@ -105,6 +105,7 @@ typedef struct AVFilterPicRef
> > int h; ///< image height
> >
> > int64_t pts; ///< presentation timestamp in units of 1/AV_TIME_BASE
> > + int64_t pos; ///< byte position in stream, -1 if unknown
> >
> > AVRational pixel_aspect; ///< pixel aspect ratio
> >
>
> ok but keep in mind, once avfilter is officially enabled, fields can
> only be added at the end and the struct size is not part of the ABI
>
> rest looks ok if tested
Applied.
--
FFmpeg = Fundamental and Fantastic Monstrous Portable Elfic Game
More information about the ffmpeg-devel
mailing list