update DownloadDialog.java

keep *.opus extension
This commit is contained in:
kapodamy 2019-10-02 13:31:45 -03:00
parent 8a992d4c47
commit 763995d4c9
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ public class DownloadDialog extends DialogFragment implements RadioGroup.OnCheck
mainStorage = mainStorageVideo;
format = videoStreamsAdapter.getItem(selectedVideoIndex).getFormat();
mime = format.mimeType;
filename += format == MediaFormat.OPUS ? "ogg" : format.suffix;
filename += format.suffix;
break;
case R.id.subtitle_button:
mainStorage = mainStorageVideo;// subtitle & video files go together