- 12 Sep, 2011 9 commits
-
-
Georgi Chorbadzhiyski authored
This move is in preparation for command handling cleanup that will follow next. No functional changes just code move. Signed-off-by: Georgi Chorbadzhiyiski <gf@unixsol.org>
-
Georgi Chorbadzhiyski authored
Switch dvblastctl to use table describing all commands. Also report verbose errors when user have not supplied enough arguments or unknown command. Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
These commands are the same as CMD_MMI_SEND but such split would allow further cleanups. Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
Previously cmd socket worked only with DVB input. That was ok since there were no commands (well except SHUTDOWN and RELOAD) that were useful without DVB input. Now that lots of commands were added to deal with input stream, this patch allows cmd socket to be used with any input (ASI, DVB and UDP). DVB only commands are ignored when there is no DVB input used. Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
Commit 5967be13 introduced ability to change provider and service name per output. Unfortunately the condition where SDT have more than one descriptor and service name descriptor is not the first one was not tested even if there were code to handle multiple descriptors. With patch even if desc 0x48 is not the first one everything works as expected.
-
Georgi Chorbadzhiyski authored
-
- 11 Sep, 2011 3 commits
-
-
Georgi Chorbadzhiyski authored
Globally set service provider can be changed for each output by using /srvprovider= output option. Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
-
Georgi Chorbadzhiyski authored
This patch adds two new output options that allow service name and provider name to be changed per output. The new output options are /srvname=XXX and /srvprovider=YYY. If option is not set the values from input stream are used. Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
-
Georgi Chorbadzhiyski authored
With this patch the DVBlast compilation output is not cluttered with the full command lines and makes it easier to spot warnings and errors. If you want to see what commands are executed run make V=1 or export V=1 and then make. The new "clean" output will look like this: make all CC dvblast.c CC util.c CC dvb.c CC udp.c CC asi.c CC demux.c CC output.c CC en50221.c CC comm.c CC mrtg-cnt.c LINK dvblast CC dvblastctl.c LINK dvblastctl make install INSTALL dvblast.1 -> /usr/local/share/man/man1 INSTALL dvblast dvblastctl dvblast_mmi.sh -> /usr/local/bin make uninstall RM /usr/local/bin/dvblast RM /usr/local/bin/dvblastctl RM /usr/local/bin/dvblast_mmi.sh RM /usr/local/share/man/man1/dvblast.1 make clean CLEAN dvblast dvblastctl dvblast.o util.o dvb.o udp.o asi.o demux.o output.o en50221.o comm.o mrtg-cnt.o util.o dvblastctl.o make archive ARCHIVE dvblast-2.0.0.tar.bz2 -rw-r--r-- 1 gf users 108030 Sep 9 12:12 dvblast-2.0.0.tar.bz2 Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
-
- 07 Sep, 2011 9 commits
-
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Doychin Dokov authored
-
- 05 Sep, 2011 19 commits
-
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
Use PRINT_TYPE macro in preparation for XML output support for fe_status command.
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
By default dvblast uses program name (argv[0]) as syslog ident. This is fine but a little hard to find. So in order to be easier to choose syslog ident add -g/--logger-ident parameters to resolve this. If one of the parameters is not set argv[0] is used instead.
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
get_pmt command return pmt for chosen service_id or no_data if the service do not exist.
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
With this patch when dvblast exits, all allocated memory is released. This makes dvblast valgrind clean.
-
Georgi Chorbadzhiyski authored
This variable is used to signal configuration reload by SIGHUP signal and over command socket so the new name is better suited.
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
mrtgInit() is not checking if filename parameter is NULL so when dvblast is run without -Z option that sets mrtg file the following error is seen in valgrind: Syscall param open(filename) points to unaddressable byte(s) at 0x412798E: __open_nocancel (in /lib/libc-2.13.so) by 0x40BCA33: __fopen_internal (in /lib/libc-2.13.so) by 0x40BCA9B: fopen@@GLIBC_2.1 (in /lib/libc-2.13.so) by 0x8062841: mrtgInit (mrtg-cnt.c:167) by 0x4073DB5: (below main) (in /lib/libc-2.13.so)
-
Georgi Chorbadzhiyski authored
This patch fixes compilation warnings related to ssize_t when dvblast is compiled on 64 bit machine. The fixed warnings are: comm.c: In function "comm_Read": comm.c:86:18: warning: format "%d" expects type "int", but argument 3 has type "ssize_t" comm.c:168:14: warning: format "%d" expects type "int", but argument 5 has type "ssize_t" dvblastctl.c: In function "main": dvblastctl.c:248:18: warning: format "%d" expects type "int", but argument 3 has type "ssize_t"
-
Georgi Chorbadzhiyski authored
-
Georgi Chorbadzhiyski authored
-