help:cairooverlay on win32 makes high cpu usage

方明 77949218 at qq.com
Sat Jul 1 04:02:28 UTC 2017


hi everyone
        
   I developed a element ,which work like textoverlay but use cairo to draw


line or rect on a surface .


then call gst_video_overlay_composition_add_rectangle to video buffer(N times)


and then call gst_video_overlay_composition_blend. 


lastly push to dshowvideosink(I am working in win32).


It can work,but result in high cpu usage.


how can I improve its performace ?


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170701/3fc00163/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QQ图片20170626104039.png
Type: application/octet-stream
Size: 84227 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170701/3fc00163/attachment-0001.obj>


More information about the gstreamer-devel mailing list