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