fix: reset video stream sizes on audio track selection
This commit is contained in:
parent
694418d30d
commit
39a5c8bdfb
2 changed files with 6 additions and 1 deletions
|
|
@ -261,6 +261,7 @@ public class DownloadDialog extends DialogFragment
|
|||
final StreamSizeWrapper<AudioStream> audioStreams = getWrappedAudioStreams();
|
||||
final var secondaryStreams = new SparseArrayCompat<SecondaryStreamHelper<AudioStream>>(4);
|
||||
final List<VideoStream> videoStreams = wrappedVideoStreams.getStreamsList();
|
||||
wrappedVideoStreams.resetSizes();
|
||||
|
||||
for (int i = 0; i < videoStreams.size(); i++) {
|
||||
if (!videoStreams.get(i).isVideoOnly()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue