Why does the libx264 call pjsip's log function

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

 



I?m making one video application,

I use pjsip which enable ffmpeg and libx264 to setup the call.

Then use ffmpeg which enables libx264 to encode.

When implementing the
x264_encoder_code(x4->env,&nal,&nnal,frame?&x4->pic:NULL,&pic_out)<0), then
assertion occurred.

The callback is like this:

In pj_thread_this();

In pj_log.part.1()

In ffmpeg_log_cb()

In x264_log()

In x264_frame_copy_picture()

In x264_encoder_encode()

X264_frame()

Avcodec_encode_video2()

 

The assertion said that the ?calling pjlib from unknown external thread?.
I can?t understand that why it happens. Since the pjsip thread is different
with the encoding process.

And the libx264 would call pjsip?s log function?

Could somebody know it?

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120829/eb4dbde2/attachment-0001.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