aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadFile.java b/src/github/daneren2005/dsub/service/DownloadFile.java
index 51649b62..41c5b969 100644
--- a/src/github/daneren2005/dsub/service/DownloadFile.java
+++ b/src/github/daneren2005/dsub/service/DownloadFile.java
@@ -86,7 +86,7 @@ public class DownloadFile {
*/
public int getBitRate() {
if(!partialFile.exists()) {
- bitRate = Util.getMaxBitrate(context);
+ bitRate = song.isVideo() ? Util.getMaxVideoBitrate(context) : Util.getMaxBitrate(context);
}
if (bitRate > 0) {
return bitRate;