r19110. CUDA image wrappers are marked as "thread safe" and we use this flag to skip freezing the picture. This works at present, but may break in the future if the hardware encoders start using the CUDA buffer directly. (it seems they copy it first?)