This also ensures the layout set during the indev init is used instead of the blank one in st->codecpar. Signed-off-by: James Almer <jamrial@gmail.com>