It could be a problem with the double buffering.

gtk_widget_set_double_buffered()

Try to set that to false and see if that makes any difference. This is on 
Linux? Usually you don't need this function any more and it is deprecated but 
it can sometimes still be useful. I know to get gnuplot pictures to redraw 
without flickering or a white background, it needs to be false.

I did a little gstreamer experimentation a little while back with the webcam 
video. It works without gtk_widget_set_double_buffered() using Ubuntu 16.04, 
GTK3.18 and gstreamer1.0. No flickering that I can see. I don't have a 
scrollbar in there though. It might be helpful.

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/Sound/webcam3.c
 

Eric
 

 


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to