1*4882a593Smuzhiyun# The env variables below can be overridden 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun# The kmssink has better performance but is more limited. 4*4882a593Smuzhiyun# export PREFERED_VIDEOSINK=kmssink 5*4882a593Smuzhiyunexport PREFERED_VIDEOSINK=waylandsink 6*4882a593Smuzhiyun 7*4882a593Smuzhiyunexport QT_GSTREAMER_WIDGET_VIDEOSINK=${PREFERED_VIDEOSINK} 8*4882a593Smuzhiyunexport QT_GSTREAMER_WINDOW_VIDEOSINK=${PREFERED_VIDEOSINK} 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun# Neither of them is perfect. 11*4882a593Smuzhiyun# The playbin2 (decodebin2) cannot handle multiqueue overrun for some 12*4882a593Smuzhiyun# broken streams: 13*4882a593Smuzhiyun# https://bugzilla.gnome.org/show_bug.cgi?id=775474 14*4882a593Smuzhiyun# The playbin3 (decodebin3) might cause memory corruption or ghostpad 15*4882a593Smuzhiyun# activation deadlock in looping. 16*4882a593Smuzhiyun# export QT_GSTREAMER_PLAYBIN=playbin 17*4882a593Smuzhiyun#export QT_GSTREAMER_PLAYBIN=playbin3 18