On Sat, 23 Mar 2013 00:49:42 +0100, Luca Barbato <[email protected]> wrote:
> On 19/03/13 11:14, Anton Khirnov wrote:
> > I cannot imagine how one fixed offset per format could ever be sufficiently 
> > generic for such
> > situations.
> 
> When what point is reached the packets must be correctly interleaved, so
> the first packet is the smallest among the packets for the streams known.
> 
> We hardly support adding streams mid-encoding and of the few that
> support that ogg supports negative pts and flv does make use of the same
> offsetting already.
> 
> > It's better to leave such offsetting to the caller IMO.
> 
> If that's the case I'd add a global option so users can disable the
> offsetting and get an hard failure message if they don't do the offsetting.
> 
> Would that be acceptable for you?
> 

Yes, that might work.

But note that my original mail was mainly targeted at the two fields that you
are adding to AVOutputFormat.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to