]> git.sesse.net Git - x264/commit
Windows: restore previous console title after encoding
authorFiona Glaser <fiona@x264.com>
Sat, 5 Feb 2011 09:16:49 +0000 (01:16 -0800)
committerFiona Glaser <fiona@x264.com>
Mon, 7 Feb 2011 05:26:45 +0000 (21:26 -0800)
commit3fa4f5d25ae66ce7fd151c729ceceae13ec364b7
treedf04c4708300658f9d312d59bcba250129b7b16f
parent7e288fcf3e5bd19afcfa8790976c75c7f6682731
Windows: restore previous console title after encoding
MSDN docs claim that SetConsoleTitle's effect is reverted when the process terminates, but this doesn't always work properly.
Accordingly, manually revert the console title at the end of encoding.
x264.c