[YoutubeDL] format spec: Fix handling of '+' with '/'
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 30 Jun 2015 17:45:42 +0000 (19:45 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 30 Jun 2015 17:50:17 +0000 (19:50 +0200)
commitcf2ac6df6896dac4d23918867bb86fac1e1088d9
treee70ddc44a5dafe9a1b13c1c9aacd27e51da27d71
parent0130afb76e5cb6f470f39f127c8d09eea3e82d0d
[YoutubeDL] format spec: Fix handling of '+' with '/'

'bestvideo+bestaudio/best' was incorrectly interpreted as 'bestvideo+(bestaudio/best)', so it would fail if 'bestaudio' doesn't exist instead of falling back to 'best'.
test/test_YoutubeDL.py
youtube_dl/YoutubeDL.py