Skip to content

Commit

Permalink
Merge pull request mipops#868 from MediaArea/simplebug
Browse files Browse the repository at this point in the history
Fix --mode option always sets mode to "playing"
  • Loading branch information
JeromeMartinez authored Jun 17, 2024
2 parents 2e23c8f + 4f1ee91 commit 7527a60
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 7527a60

Please sign in to comment.