[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Enable video and disable FFmpeg causes compile
From: |
Simon Brenner |
Subject: |
Re: [Linphone-developers] Enable video and disable FFmpeg causes compiler error |
Date: |
Tue, 29 Jun 2010 16:37:39 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20091015) |
Extension to my posting:
On my ARM system the described circumstances even cause a segfault. Haven't
tested this on the PC
but it'll probably be the same.
Perhaps in function ms_web_cam_create_reader in mediastreamer2/src/mswebcam.c??
-Simon.
Simon Brenner wrote:
> Hi,
>
> I'm about to build Linphone with video support but without FFmpeg support, so
> I'm using the flags
> --enable-video and
> --disable-ffmpeg.
> In mediastreamer2/src/Makefile.am there's a conditional paragraph ("if
> BUILD_FFMPEG") which decides
> for a few source files not to be built.
>
> My trouble is: The function linphone_core_set_static_picture in
> coreapi/linphonecore.c calls the
> function ms_static_image_set_default_image which is defined in
> mediastreamer2/src/nowebcam.c. But
> the latter file is excluded from building when I use --disable-ffmpeg.
> The function is called only in the VIDEO_ENABLED case. But in my special case
> I have video enabled
> and just FFmpeg disabled...
>
> Is there a correction to this?
>
> My workaround was just to comment out the function call in linphonecore.c.
>
>
> Greetings,
>
> -Simon.