diff options
author | wm4 <wm4@nowhere> | 2014-04-29 02:09:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-29 02:09:59 +0200 |
commit | fa1b9517bc3d68460b721baadf4d38ce68d422df (patch) | |
tree | 83ec87a2de9f9f8a4ea3aaa2e3cd3794c38269de | |
parent | f2f19b34046e135e41a1c1ffa50eaa7dab1bbf22 (diff) | |
download | mpv-fa1b9517bc3d68460b721baadf4d38ce68d422df.tar.bz2 mpv-fa1b9517bc3d68460b721baadf4d38ce68d422df.tar.xz |
TOOLS/umpv, mpv.desktop: use --no-terminal instead of --really-quiet
So this won't initialize terminal handling if stdout happens to be a
terminal. It also suppresses all output to stdout/stderr.
-rwxr-xr-x | TOOLS/umpv | 2 | ||||
-rw-r--r-- | etc/mpv.desktop | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/umpv b/TOOLS/umpv index 162ce50449..39d69b5787 100755 --- a/TOOLS/umpv +++ b/TOOLS/umpv @@ -96,7 +96,7 @@ else: raise e os.mkfifo(FIFO, int("0600", 8)) - opts = ["mpv", "--really-quiet", "--force-window", "--input-file=" + FIFO] + opts = ["mpv", "--no-terminal", "--force-window", "--input-file=" + FIFO] opts.extend(opts_env) opts.append("--") opts.extend(files) diff --git a/etc/mpv.desktop b/etc/mpv.desktop index 9a125d778f..f0ea80bb8c 100644 --- a/etc/mpv.desktop +++ b/etc/mpv.desktop @@ -19,7 +19,7 @@ Comment[ru]=Воспроизвести фильмы и музыку Comment[zh]=多媒体播放器 Icon=mpv TryExec=mpv -Exec=mpv --really-quiet --force-window -- %U +Exec=mpv --no-terminal --force-window -- %U Terminal=false NoDisplay=true Categories=AudioVideo;Audio;Video;Player;TV; |