hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# The env variables below can be override by the init script(e.g. S50launcher)
 
# 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