Merge "Fix fd leak while getting original media format fd" into sc-dev