Merge "transcoding: Fix the null pointer exception due to invalid uid."