During startup, motion calls pthread_getspecific() through motion_log()
before pthread_key_create() has been called yet. This works on glibc and
uclibc but segfaults on musl because motion is relying on undefined
behaviour here.
Move the pthread initialization before motion_startup() so that
tls_key_threadnr is initialized when motion_log() is called.
Also enforce the use of strerror_r() on musl by defining XSI_STRERROR_R
on all non-glibc systems because the supposed replacement code is broken
and crashes on musl.
References:
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2015x09x30x203633
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Tvheadend is a TV streaming server and recorder for Linux. Legacy
Makefile for tvheadend was used as a skeleton, but most of its parts
were rewritten or updated later.
Procd init script allows to set some configuration options (these are
commented out in default Uci config for documentation purposes) and is
written in a way that it puts only configuration that needs to be
persistent to main memory. EPG database which is large and updated
regularly is put to tmpfs (this can be disabled in config).
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
For libffmpeg-audio-dec:
Remove @DEVEL flag from libffmpeg-audio-dec. Reasoning for this is
that choosing this package does not rquire any further action by the
builder in what codecs or formats should be built in.
libffmpeg-custom, the other libffmpeg to require @DEVEL, does need
further interaction.
Add @BUILD_PATENTED as at least one of the audio codecs is likely
patent protected.
Add ffmpeg's native Opus decoder to libffmpeg-audio-dec
Remove libopus dependency to libffmpeg-audio-dec as libopus provides
decode and encode support for Opus audio. Since FFmpeg can decode
Opus audio on its own, and libffmpeg-audio-dec is intended for audio
decoding, libopus is no longer required for Opus audio support.
For libffmpeg-custom:
Add in options for ffmpeg's integrated Opus decoder
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Update to r182-experimental (071481e626) broke YUV
capture mode in input_uvc. This patch fixes it.
Tested on ar71xx with Logitech C170
Signed-off-by: Mantas Pucka <mantas@8devices.com>
input_uvc was broken with new kernel update
patch source: https://github.com/oliv3r/mjpg-streamer
Tested on ar71xx with Logitech C170
Signed-off-by: Mantas Pucka <mantas@8devices.com>
./configure was warning that all these options are unrecognized:
--disable-alsa-test
--disable-ffmpegcolorspace
--disable-gnome_vfs
--disable-gst_v4l
--disable-oggtest
--disable-vorbistest
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>