diff options
-rw-r--r-- | player/loadfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index 4ef1d4027b..aeca0d42a1 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -652,8 +652,8 @@ struct track *select_default_track(struct MPContext *mpctx, int order, // If the codec is DVD or PGS, we can display it in forced-only mode. // This isn't really meaningful for other codecs, so we'll just pick nothing. if (pick->stream && - !strcmp(pick->stream->codec->codec, "dvd_subtitle") || - !strcmp(pick->stream->codec->codec, "hdmv_pgs_subtitle")) + (!strcmp(pick->stream->codec->codec, "dvd_subtitle") || + !strcmp(pick->stream->codec->codec, "hdmv_pgs_subtitle"))) pick->forced_only_def = 1; else pick = NULL; |