Crash on pjvideo

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

 



Hello,

When the built-in camera is not instantiated a crash occur at:

IMediaFilter_Stop(stream->dgraph.media_filter); because the pointer is null.

I have change the code to:
if (stream->dgraph.media_filter)
????? IMediaFilter_Stop(stream->dgraph.media_filter);

and this solve the crash.

I still have the problem of not able to render/filter the camera. The error messages are:
22:28:51.500??? pjsua_vid.c? .......Setting up TX..
22:28:51.500??? pjsua_vid.c? ........Creating video window: type=preview, cap_id=0, rend_id=2
22:31:50.796???? vid_port.c? .........Opening device Integrated Webcam [dshow] for capture: format=YUY2, size=352x288 @30000:1001 fps
22:32:36.937??? dshow_dev.c? .........Error creating filter graph: CoInitialize has not been called.? (hr=0x800401f0)
22:32:36.937??? dshow_dev.c? .........Trying to open dshow dev with default fps
22:32:36.937??? dshow_dev.c? .........Error creating filter graph: CoInitialize has not been called.? (hr=0x800401f0)
22:32:36.937??? dshow_dev.c? .........Trying to open dshow dev with default size & fps
22:32:36.937??? dshow_dev.c? .........Error creating filter graph: CoInitialize has not been called.? (hr=0x800401f0)
22:32:50.000??? dshow_dev.c? .........Stopping dshow video stream
22:33:37.281???? vid_port.c? .........Closing Integrated Webcam..
22:33:53.453??? pjsua_vid.c? .........Window 1: destroying..
22:34:33.359? pjsua_media.c? .......Error updating media call00:1: Unknown Error (PJ_EUNKNOWN)

(CoInitialize HAS been called.) 
Any idea?

Thanks,

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111229/21c8a61d/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