I can't think of anything that would cause you to get switched to jpeg mode automatically.
I had this happen again earlier, but I do remember having a Chrome app error when it restored UI3 earlier in the day.
Is it possible that at some point around this error UI3 thinks H.264 isn't supported so elects the jpeg option instead which then gets persisted?