Merge "Move up initialization of mFormat, mStreamType, and mSharedBuffer earlier"