extractor: youtube: Swap video dimensions to match standard practice.
authorRogério Brito <rbrito@ime.usp.br>
Sat, 19 Oct 2013 17:04:44 +0000 (14:04 -0300)
committerRogério Brito <rbrito@ime.usp.br>
Sat, 19 Oct 2013 17:04:44 +0000 (14:04 -0300)
commitd5a9bb4ea97287e633e891ddd1a416619c9aada9
treeb5a5c0a33ce8654d6cd5592001314ac26ab78947
parent8e590a117f61bfb034ba6d181f5752b6977b4262
extractor: youtube: Swap video dimensions to match standard practice.

While working on this, I thought about simplifying things like changing
480x854 to 480p, and that seemed like a good option, until I realized that
people (me included) usually link the concept of some number followed by a p
with the video being 16:9.

So, we would be losing some information and, as we all know,
[explicit is better than implicit][*].

[*]: http://www.python.org/dev/peps/pep-0020/

This closes #1446.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
youtube_dl/extractor/youtube.py