1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-16 06:44:55 +00:00

update DownloadDialog.java

keep *.opus extension
This commit is contained in:
kapodamy 2019-10-02 13:31:45 -03:00
parent 8a992d4c47
commit 763995d4c9

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