I put this in after a problem report. I got a sample with a unknown stream. AddStream sets this type to STREAM_NONE. As a consequence IsProgramChange detects changes all the time.