[gst-devel] CPU usage near 100%

Wim Taymans wim at fluendo.com
Mon Mar 19 13:27:58 CET 2007


On Mon, 2007-03-19 at 13:22 +0100, Riccardo Corona wrote:
> Hi,
> I'm new to this mailing-list and so this is my first post here.
> I'm using Gstreamer on Windows at
> http://perso.orange.es/moutte983/gstreamer/ .
> As you can read on the subject I've a serius problem with CPU usage
> during the execution ofsample code in paragraph 18.2.3 of the
> "Application Development Manual"; I've compiled and execute the code
> with only a little change in sink element from "xvimagesink" to "
> directdrawsink", the program works well and I can see the window whit
> switching color (Black/White) but I've the cpu usage always near 100%
> of the load.
> How can I sleep the gst loop after the call of  g_main_loop_run?

Putting a timestamp on the input buffer would help. currently it's
generating and displaying frames as fast as possible.

Wim
> 
> Thank's to all of you for the help.
> 
> Best regards. 
> 
> 
> -- 
> Riccardo Corona 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list