[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] linphonecore crash /w video disabled on master
From: |
Gautier Pelloux-Prayer |
Subject: |
Re: [Linphone-developers] linphonecore crash /w video disabled on master |
Date: |
Tue, 9 Feb 2016 15:05:04 +0100 |
Hi,
The crash was actually fixed yesterday and is not related to build without
video or not.
The equivalent of previous "make clean-liblinphone; make build-liblinphone" is
now "make". There is no need anymore to clean and rebuild, the default target
should rebuild only what's needed.
./prepare.py should be reran only when changing compilation options (switch
from release to debug, disabling video, etc.).
Cheers,
> On 09 Feb 2016, at 01:09, Eli Burke <address@hidden> wrote:
>
> I compiled liblinphone from master today and ran into a bug /w video disabled
> (./prepare.py -DENABLE_VIDEO=OFF)
>
> The call stack when launching our app goes like this:
> linphone_core_init()
> linphone_core_start()
> video_config_read()
> build_video_devices_table()
> CRASH— ms_web_cam_manager_get_list() de-references factory->wbcmanager->cams,
> but webcmanager is NULL.
>
> I fixed it in linphone_core_start() by wrapping the call to
> video_config_read() in #ifdef VIDEO_ENABLED
>
> Also, a build question: In linphone-iphone I used to be able to rebuild
> liblinphone with "make clean-liblinphone; make build-liblinphone”.
> Now with the Makefile created by prepare.py, “make sdk” does not rebuild
> changed code. Is there a faster way than re-running ./prepare.py ?
>
> Thanks,
> Eli
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers