On Sun, 03 Aug 2014 06:54:37 +0200
Anton Khirnov <[email protected]> wrote:

> 
> On Sat,  2 Aug 2014 12:42:01 -0700, Diego Biurrun <[email protected]> wrote:
> > ---
> >  cmdutils.c                |  4 ++--
> >  doc/examples/output.c     | 10 +++++-----
> >  libavfilter/vf_scale.c    |  7 ++++---
> >  libswscale/swscale-test.c | 21 ++++++++++++---------
> >  4 files changed, 23 insertions(+), 19 deletions(-)
> > 
> 
> I think this patch already arose a couple years ago, and then it was iirc
> claimed that sws_getCachedContext is not a complete replacement for
> sws_getContext and so should not be deprecated
> 

Yeah, the only way to initialize sws in a way that gives access to all
features is using sws_alloc_context(), setting AVOptions, calling
sws_init_context(). But it's a bit verbose.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to