Skip to content

Commit 8102152

Browse files
committed
update go-fftool
1 parent 70ec970 commit 8102152

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

config.go

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -159,35 +159,6 @@ func DefaultConfig() *Config {
159159
return cfg
160160
}
161161

162-
type sliceConfig struct {
163-
*Config
164-
}
165-
166-
func (cfg *sliceConfig) do() (e error) {
167-
e = cfg.SaveKey()
168-
if e != nil {
169-
return Err(e, "savekey")
170-
}
171-
return nil
172-
}
173-
174-
func (cfg *sliceConfig) output() string {
175-
log.Infow("path", "output", cfg.ProcessPath())
176-
return fmt.Sprintf(sliceOutputTemplate, cfg.CryptoInfo(), cfg.HLSTime, filepath.Join(cfg.ProcessPath(), cfg.SegmentFileName), filepath.Join(cfg.ProcessPath(), cfg.M3U8Name))
177-
}
178-
179-
type defaultConfig struct {
180-
*Config
181-
}
182-
183-
func (cfg *defaultConfig) do() error {
184-
return nil
185-
}
186-
187-
func (cfg *defaultConfig) output() string {
188-
return filepath.Join(cfg.ProcessPath(), cfg.OutputName)
189-
}
190-
191162
func abs(path string) string {
192163
if filepath.IsAbs(path) {
193164
return path

0 commit comments

Comments
 (0)