Permalink
Browse files

dont override quality option

  • Loading branch information...
1 parent 9e3c678 commit 189f2400c8db3582bca2164d9eb66d3ae0086e9d @fent committed Dec 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/index.js
View
@@ -36,7 +36,7 @@ function ytdl(link, options) {
var stream = streamify({ superCtor: http.ClientResponse });
options = options || {};
- options.quality = 'highest';
+ options.quality = options.quality || 'highest';
if (cache.exists(id)) {
var info = cache.get(id);

0 comments on commit 189f240

Please sign in to comment.