lesavka: let preview decoder auto-select

This commit is contained in:
Brad Stein 2026-04-16 19:24:18 -03:00
parent 0155581f30
commit 77f80398ce

View File

@ -917,7 +917,7 @@ fn build_preview_pipeline(
let desc = format!(
"appsrc name=src is-live=true format=time do-timestamp=true block=false ! \
queue max-size-buffers=6 max-size-time=0 max-size-bytes=0 leaky=downstream ! \
h264parse disable-passthrough=true ! avdec_h264 ! videoconvert ! videoscale ! \
h264parse disable-passthrough=true ! decodebin ! videoconvert ! videoscale ! \
video/x-raw,format=RGBA,width={},height={},pixel-aspect-ratio=1/1 ! \
appsink name=sink emit-signals=false sync=false max-buffers=1 drop=true",
profile.display_width, profile.display_height