Added image synchronization in the ios video decoder