mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
tools: gst-play: enable interative mode by default
And change --interactive option to --no-interactive.
This commit is contained in:
parent
4a993cb316
commit
b74d4f972a
2 changed files with 6 additions and 5 deletions
|
@ -32,8 +32,8 @@ Set initial playback volume to VOLUME, where 0.0=silent and 1.0=unchanged
|
||||||
.B \-\-shuffle
|
.B \-\-shuffle
|
||||||
Shuffle playlist (play files in random order)
|
Shuffle playlist (play files in random order)
|
||||||
.TP 8
|
.TP 8
|
||||||
.B \-\-interactive
|
.B \-\-no-interactive
|
||||||
Enable control through keyboard interaction in terminal (see below)
|
Disable control through keyboard interaction in terminal (see below)
|
||||||
.TP 8
|
.TP 8
|
||||||
.B \-\-gapless
|
.B \-\-gapless
|
||||||
Enable gapless playback
|
Enable gapless playback
|
||||||
|
|
|
@ -909,7 +909,7 @@ main (int argc, char **argv)
|
||||||
GstPlay *play;
|
GstPlay *play;
|
||||||
GPtrArray *playlist;
|
GPtrArray *playlist;
|
||||||
gboolean print_version = FALSE;
|
gboolean print_version = FALSE;
|
||||||
gboolean interactive = FALSE; /* FIXME: maybe enable by default? */
|
gboolean interactive = TRUE;
|
||||||
gboolean gapless = FALSE;
|
gboolean gapless = FALSE;
|
||||||
gboolean shuffle = FALSE;
|
gboolean shuffle = FALSE;
|
||||||
gdouble volume = -1;
|
gdouble volume = -1;
|
||||||
|
@ -932,8 +932,9 @@ main (int argc, char **argv)
|
||||||
N_("Enable gapless playback"), NULL},
|
N_("Enable gapless playback"), NULL},
|
||||||
{"shuffle", 0, 0, G_OPTION_ARG_NONE, &shuffle,
|
{"shuffle", 0, 0, G_OPTION_ARG_NONE, &shuffle,
|
||||||
N_("Shuffle playlist"), NULL},
|
N_("Shuffle playlist"), NULL},
|
||||||
{"interactive", 0, 0, G_OPTION_ARG_NONE, &interactive,
|
{"no-interactive", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE,
|
||||||
N_("Interactive control via keyboard"), NULL},
|
&interactive,
|
||||||
|
N_("Disable interactive control via the keyboard"), NULL},
|
||||||
{"volume", 0, 0, G_OPTION_ARG_DOUBLE, &volume,
|
{"volume", 0, 0, G_OPTION_ARG_DOUBLE, &volume,
|
||||||
N_("Volume"), NULL},
|
N_("Volume"), NULL},
|
||||||
{"playlist", 0, 0, G_OPTION_ARG_FILENAME, &playlist_file,
|
{"playlist", 0, 0, G_OPTION_ARG_FILENAME, &playlist_file,
|
||||||
|
|
Loading…
Reference in a new issue