Failed to initialize SDL

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

 



Allright, found the problem.

 

After extending error message with SDL_GetError() I found, that SDL failed
to initialize because of no video device.

 

Than I made investigation about this problem, and I found, that driver fbcon
was removed in SDL 1.3. I don`t see source for this driver in src/video
either.

 

Question is, how to make some kind of workaround to make it work.

 

  _____  

From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of Michal Matuga
Sent: Thursday, March 15, 2012 4:35 PM
To: pjsip at lists.pjsip.org
Subject: Failed to initialize SDL

 

Hi,

 

I tryied to cross compile pjsip 2.0 with video support for embedded ARM. But
when I run application, or pjsua, I`m getting this error.

 

20:55:17.983 ffmpeg_codecs.  ...The H263-1998 decoder is using base codec
(H263)

20:55:17.983 ffmpeg_codecs.  ...The XVID codec is using base codec (MP4V)

20:55:17.984 colorbar_dev.c  ...Colorbar video src initialized with 1
device(s):

20:55:17.985 colorbar_dev.c  ... 0: Colorbar generator

20:55:17.989      sdl_dev.c !Failed initializing SDL

SimpleBrowser: ../src/pjmedia-videodev/sdl_dev.c:523: sdl_factory_destroy:
Assertion `pj_list_empty(&sf->streams)' failed.

 

What do you think can be a problem? This are my configures for SDL, ffmpeg
and pjsip  Thank you very much.

 

SDL:

./configure --prefix=/home/matuga/pjsip/compiled/
--exec-prefix=/home/matuga/pjsip/compiled/ --host=arm-linux --disable-shared
--enable-static --disable-video-x11 --disable-video-cocoa
--enable-video-directfb --disable-directx --disable-video-opengl
--disable-video-opengles

 

Ffmpeg:

./configure --prefix=/home/matuga/pjsip/compiled/ --enable-cross-compile
--enable-shared --disable-static --enable-memalign-hack  --arch=arm
--target-os=linux --cross-prefix=arm-linux-

 

Pjsip:

./configure --host="arm-linux" --prefix="/home/matuga/pjsip/compiled"
--disable-large-filter --disable-speex-aec --disable-l16-codec
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
--disable-speex-aec CFLAGS="-I/home/matuga/pjsip/compiled/include/"
LDFLAGS="-L/home/matuga/pjsip/compiled/lib/"

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120315/3647df60/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux