Terminate script when ffmplay window closes

This commit is contained in:
Rien Maertens 2021-01-08 11:05:06 +01:00 committed by Rien
parent 57dcd7ca27
commit 73c5c7c131

View File

@ -214,7 +214,7 @@ fi
$receive_cmd \
| $decompress \
| $host_passthrough \
| "$output_cmd" \
| ("$output_cmd" \
-vcodec rawvideo \
-loglevel "$loglevel" \
-f rawvideo \
@ -222,4 +222,6 @@ $receive_cmd \
-video_size "$width,$height" \
$window_title_option \
-i - \
"$@"
"$@" \
; kill $$
)