Skip to content

Commit

Permalink
Fix --mode option always sets mode to "playing"
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Gervais <[email protected]>
  • Loading branch information
g-maxime committed Jun 11, 2024
1 parent 74bec6c commit 34cf0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CLI/CommandLine_Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ return_value Parse(Core &C, int argc, const char* argv_ansi[], const MediaInfoNa
if (!strcmp(argv_ansi[i], "p"))
Device_Mode = Playback_Mode_Playing;
else if (!strcmp(argv_ansi[i], "n"))
Device_Mode = Playback_Mode_Playing;
Device_Mode = Playback_Mode_NotPlaying;
else
{
if (C.Err)
Expand Down

0 comments on commit 34cf0b7

Please sign in to comment.