Mercurial > mplayer.hg
diff gui/interface.c @ 34399:f2c03009068d
Don't explicitly set stream type if the type doesn't change.
Use a self-explanatory symbolic constant which makes the code
more easily understandable.
| author | ib |
|---|---|
| date | Mon, 02 Jan 2012 15:16:55 +0000 |
| parents | b2d661762e90 |
| children | bca629bb50cf |
line wrap: on
line diff
--- a/gui/interface.c Mon Jan 02 12:53:20 2012 +0000 +++ b/gui/interface.c Mon Jan 02 15:16:55 2012 +0000 @@ -416,7 +416,7 @@ char tmp[512]; sprintf(tmp, "cdda://%d", guiInfo.Track); - uiSetFileName(NULL, tmp, STREAMTYPE_CDDA); + uiSetFileName(NULL, tmp, SAME_STREAMTYPE); } break; #endif @@ -427,7 +427,7 @@ char tmp[512]; sprintf(tmp, "vcd://%d", guiInfo.Track); - uiSetFileName(NULL, tmp, STREAMTYPE_VCD); + uiSetFileName(NULL, tmp, SAME_STREAMTYPE); } break; #endif @@ -438,7 +438,7 @@ char tmp[512]; sprintf(tmp, "dvd://%d", guiInfo.Track); - uiSetFileName(NULL, tmp, STREAMTYPE_DVD); + uiSetFileName(NULL, tmp, SAME_STREAMTYPE); } dvd_chapter = guiInfo.Chapter;
