update DownloadDialog.java

keep *.opus extension
This commit is contained in:
kapodamy 2019-10-02 13:31:45 -03:00
parent 94e23142a5
commit 844f80a5f1

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