Fix initial track selection in ffmpeg demuxer

Desktop / Chromium - Sergey Volk [] - 10 October 2017 21:50 EDT

Current initial track selection logic is incorrect for files with unsupported audio/video streams. Those streams are included into detected_a/v_track_count, but we want only the first SUPPORTED audio and video tracks to be enabled initially.

Bug: 764330 Cq-Include-Trybots:;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel; Change-Id: Iec89964dff563ef2b9739ddb3091f03cba798824 Reviewed-on:

4c1fafe Fix initial track selection in ffmpeg demuxer
media/filters/ | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)


  • Share