File: FAQ

package info (click to toggle)
motion 3.2.12%2Bgit20140228-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,240 kB
  • ctags: 2,370
  • sloc: ansic: 25,224; makefile: 687; sh: 278
file content (24 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This FAQ is no longer kept up to date
Look at this URL for a more up to date wiki based FAQ
http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions

Q: motion crashes while parsing the config file.

A: Appearantly the behaviour of strtok in glibc has changed somewhat.
   This problem should be fixed as of 2.3


Q: Were does motion look for the config file?

A: First it will look for 'motion.conf' in the current directory, next it will
   try to find '.motion/motion.conf' in your home directory (pointed to by
   the HOME environment variable). If these don't exist it will try to open
   '/usr/local/etc/motion/motion.conf' if you specified /usr/local as the prefix
   to configure (this is the default).

Q: What codingstyle is used for motion?

A: Motion follows the same style as the linux kernel.
   Read Documentation/Codingstyle in the kernel tree for some good reasons.
   Also be aware that motion is multithreaded and as such all functions should
   be reentrant, using static variables is usually a bad idea.