Skip to content

Commit

Permalink
rpi: fix compatibility with latest mediamtx-rpicamera (#3674)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Aug 21, 2024
1 parent 3700d5e commit 7da91a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/staticsources/rpicamera/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (c *camera) initialize() error {
"LD_LIBRARY_PATH=" + dumpPath,
}

c.cmd = exec.Command(filepath.Join(dumpPath, "exe"))
c.cmd = exec.Command(filepath.Join(dumpPath, "mtxrpicam"))
c.cmd.Stdout = os.Stdout
c.cmd.Stderr = os.Stderr
c.cmd.Env = env
Expand Down
2 changes: 1 addition & 1 deletion internal/staticsources/rpicamera/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func dumpComponent() error {
return err
}

err = os.Chmod(filepath.Join(dumpPath, "exe"), 0o755)
err = os.Chmod(filepath.Join(dumpPath, "mtxrpicam"), 0o755)
if err != nil {
os.RemoveAll(dumpPath)
return err
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.2.0
v2.3.0

0 comments on commit 7da91a7

Please sign in to comment.