diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-06 09:09:36 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | 3bc68dfd6183078fb56b53e24e74f889c85c4ae0 (patch) | |
tree | eac38175bf815227f39bf0327c7399b85b05ad08 /client/src | |
parent | f8c00564e7e66c7c9d65ea044a4c1485df0e4c7c (diff) | |
download | PeerTube-3bc68dfd6183078fb56b53e24e74f889c85c4ae0.tar.gz PeerTube-3bc68dfd6183078fb56b53e24e74f889c85c4ae0.tar.zst PeerTube-3bc68dfd6183078fb56b53e24e74f889c85c4ae0.zip |
Fix audio sync after saving replay
hls.js seems to not correctly handle audio gaps with fragmented mp4
(but can with a ts playlist)
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts index 18b4a2f3c..321f7b09f 100644 --- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | |||
@@ -93,7 +93,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
93 | ngOnChanges () { | 93 | ngOnChanges () { |
94 | if (this.loaded) { | 94 | if (this.loaded) { |
95 | this.loaded = false | 95 | this.loaded = false |
96 | this.playlistAdd.reload() | 96 | if (this.playlistAdd) this.playlistAdd.reload() |
97 | } | 97 | } |
98 | 98 | ||
99 | this.buildActions() | 99 | this.buildActions() |
@@ -277,7 +277,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
277 | { | 277 | { |
278 | label: $localize`Display live information`, | 278 | label: $localize`Display live information`, |
279 | handler: ({ video }) => this.showLiveInfoModal(video), | 279 | handler: ({ video }) => this.showLiveInfoModal(video), |
280 | isDisplayed: () => this.isVideoLiveInfoAvailable(), | 280 | isDisplayed: () => this.displayOptions.liveInfo && this.isVideoLiveInfoAvailable(), |
281 | iconName: 'live' | 281 | iconName: 'live' |
282 | }, | 282 | }, |
283 | { | 283 | { |