1. 04 Jun, 2012 3 commits
    • Jean-Paul Saman's avatar
      demux: rename dvbpsi_demux_subdec_t::p_cb_data to p_decoder · 826a8881
      Jean-Paul Saman authored
      The functions dvbpsi_GatherXSections() and dvbpsi_NewDemuxSubDecoder() take a
      private decoder as argument. Change this argument from 'void *' to 'dvbpsi_decoder_t *'.
      This makes its use more clear.
      826a8881
    • Jean-Paul Saman's avatar
      demux: use new utility functions. · 2d3fb64a
      Jean-Paul Saman authored
      Use new utility functions to replace common code blocks. Moving
      code to demux.c instead of repeating them in the subtable functions.
      This reduces the amount of code in subtable files and reduces the risk
      of introducing errors in future for this code.
      2d3fb64a
    • Jean-Paul Saman's avatar
      demux: refactor · 7beb890c
      Jean-Paul Saman authored
      Refactor common demux code structures into utility functions.
      See the complete list below:
      - rearrange arguments of dvbpsi_demux_new_cb_t callback
      - define dvbpsi_demux_gather_cb_t callback type
      - define dvbpsi_demux_detach_cb_t callback type
      - new utility function dvbpsi_NewDemuxSubDecoder()
      - new utility function dvbpsi_DeleteDemuxSubDecoder()
      - new utility funciton dvbpsi_AttachDemuxSubDecoder()
      - new utility function dvbpsi_DetachDemuxSubDecoder()
      7beb890c
  2. 30 May, 2012 26 commits
  3. 21 May, 2012 7 commits
  4. 07 May, 2012 1 commit
  5. 25 Apr, 2012 1 commit
    • Jean-Paul Saman's avatar
      dvbinfo: fix logging · a708ad10
      Jean-Paul Saman authored
      Logging functions nested use of va_arg(), which was wrong. The solutions
      is to simplify the logging function nesting.
      a708ad10
  6. 16 Apr, 2012 2 commits
    • Jean-Paul Saman's avatar
      dvbinfo: implement monitor mode · a24fd472
      Jean-Paul Saman authored
      In monitor mode dvbinfo runs as Unix daemon and the logging goes to syslog instead of stderr.
      - added -m (--monitor) commandline switch to run in the background
      - added -s (--summary) commandline switch to produce bitrate summary files
      - added --summary-file commandline switch to give a summary-file name (default: stdout)
      - added --summary-period commandline switch to write every <n> ms a new summary file
      - implemented a logging callback function for routing the dvbpsi log messages to dvbinfo application
      a24fd472
    • Jean-Paul Saman's avatar
      fix a bug with HAVE_VARIADIC_MACROS message() function · c576e208
      Jean-Paul Saman authored
      The code referred to a not defined DVBPSI_MSG_FORMAT define and a not define variable inside the HAVE_VARIADIC_MACROS code block.
      c576e208