[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] mediastreamer: undefined reference to `ms_sws_

From: Simon Morlat
Subject: Re: [Linphone-developers] mediastreamer: undefined reference to `ms_sws_freeContext'
Date: Mon, 11 Apr 2011 22:25:13 +0200

Hi Peter,

Thank you for reporting this issue.
You are probably building mediastreamer2 with --enable-sdl .
On linux sdl dependency has been deprecated in favor of X11+Xv subsystem
 (you just need libxv headers installed to build this new module in
However the SDL module should be able to build for platforms without
X11, so I'm working on fixing this issue.
The ms_scaler_context*() calls are replacing the old ms_sws*() ones.


Le lundi 11 avril 2011 à 12:34 +0400, Peter Volkov a écrit :
> Hi! After 57bde1 commit compilation of mediastreamer exposes following
> warnings:
> videoout.c:555:3: warning: implicit declaration of function 
> 'ms_sws_freeContext'
> videoout.c:668:6: warning: implicit declaration of function 
> 'ms_sws_getContext'
> videoout.c:673:5: warning: implicit declaration of function 'ms_sws_scale'
> This results in inability to build kopete against mediastreamer. For
> full mediastreamer build log take a look at:
> Proposed patch is here:
> But I'm unsure if it's correct. At least in mentioned git commit some
> substitutions are: 
> -                       ms_sws_freeContext(s->sws_ctx);
> +                       sws_freeContext(s->sws_ctx);
>                         s->sws_ctx=NULL;
> while others are:
> -               ms_sws_freeContext(s->sws_ctx);
> +               ms_scaler_context_free(s->sws_ctx);
>                 s->sws_ctx=NULL;
> Looks like second substitution is a type, but currently I'm unsure.
> Please, advice.
> With best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]