Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit dea8052

Browse files
author
ahmad
committed
SkipData
1 parent 715a994 commit dea8052

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ffmpeg/options.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ type Options struct {
5757
AudioFilter *string `flag:"-af"`
5858
SkipVideo *bool `flag:"-vn"`
5959
SkipAudio *bool `flag:"-an"`
60+
SkipData *bool `flag:"-dn"`
6061
CompressionLevel *int `flag:"-compression_level"`
6162
MapMetadata *string `flag:"-map_metadata"`
6263
Metadata map[string]string `flag:"-metadata"`
@@ -102,7 +103,7 @@ func (opts Options) GetStrArguments() []string {
102103
values = append(values, k, fmt.Sprintf("%v", v))
103104
}
104105
}
105-
106+
106107
if vi, ok := value.(*int); ok {
107108
values = append(values, flag, fmt.Sprintf("%d", *vi))
108109
}

0 commit comments

Comments
 (0)