We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d69c0 commit c95e2baCopy full SHA for c95e2ba
examples/dash/main.go
@@ -12,7 +12,7 @@ import (
12
13
func main() {
14
opts := packlit.NewFlags(packlit.WithMpdOutput("h264.mpd"))
15
- runner := packlit.NewBuilder().
+ packager := packlit.NewBuilder().
16
WithStream(
17
packlit.NewStreamBuilder().
18
WithInput("h264_baseline_360p_600.mp4").
@@ -44,7 +44,8 @@ func main() {
44
WithFlag(opts).
45
Build()
46
47
- if err := runner.Run(); err != nil {
+ packagerExecutor := packlit.NewExecutor(packager)
48
+ if err := packagerExecutor.Run(); err != nil {
49
log.Fatalf("error when running shaka-packager: %v", err)
50
}
51
0 commit comments