On Wed, 20 Apr 2011, Ronald S. Bultje wrote:

> Hi,
> 
> On Wed, Apr 20, 2011 at 7:49 AM, Martin Storsjö <mar...@martin.st> wrote:
> > This helps callers to intelligently switch between bitrate
> > variants.
> > ---
> >  libavformat/applehttp.c |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> Doesn't AVCodecContext have a bit_rate integer for this purpose?

It does, but this is for a slightly different use. The bitrate in 
AVCodecContext is for the actual bitrate of that stream only, while this 
would convey the total bitrate of the whole bitrate variant that this 
stream belongs to. So for that, a different name perhaps would be better, 
like "variant_total_bitrate" or something similar?

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to