Skip to content

Commit

Permalink
fix error code on file bin invalid output
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Nov 18, 2024
1 parent cce6421 commit 712c222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pipeline/builder/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func BuildFileBin(pipeline *gstreamer.Pipeline, p *config.PipelineConfig) (*gstr
case types.OutputTypeWebM:
mux, err = gst.NewElement("webmmux")
default:
err = errors.ErrInvalidInput("output type")
return nil, errors.ErrInvalidInput("output type")
}
if err != nil {
return nil, errors.ErrGstPipelineError(err)
Expand Down

0 comments on commit 712c222

Please sign in to comment.