Skip to content

Commit 3c0a4be

Browse files
committed
fix: Disable autoSelect only when default is false
1 parent aac69cc commit 3c0a4be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/stitcher/src/filters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function filterMasterPlaylist(master: MasterPlaylist, filter: Filter) {
9696
}
9797
if (filter.disableAutoSelect) {
9898
master.renditions.forEach((rendition) => {
99-
if (rendition.autoSelect) {
99+
if (!rendition.default && rendition.autoSelect) {
100100
rendition.autoSelect = false;
101101
}
102102
});

0 commit comments

Comments
 (0)