1. 14 Aug, 2003 2 commits
  2. 13 Aug, 2003 1 commit
    • Andrew de Quincey's avatar
      Application of my localinput patch. This fixes: · feff981d
      Andrew de Quincey authored
      1) Segfaults on closing localinput sources
         The streamer was being deleted before the trickplay module was stopped.
      
      2) Segfaults on closing localinput sources #2
         The streamer must be deleted last -- as it deletes the tsprovider.
      
      3) Hang on closing localinput sources
         The trickplay module was happily filling the C_SyncFifo to the
      brim, and being blocked when it became full. Unfortunately, this
      causes the tsstreamer to hang on shutdown as the consumer has been
      stopped, but not the tsstreamer... I made it set m_bStop, wait for
      a second, and Interrupt the tsstreamer thread in case it is stuck
      in this situation.
      feff981d
  3. 08 Aug, 2003 1 commit
    • Tristan Leteurtre's avatar
      · e54a8ba8
      Tristan Leteurtre authored
        . Improvements in the vls stopping sequence.
        . Removed the bug of v4l stopping process using Ctrl-C
      e54a8ba8
  4. 06 Aug, 2003 2 commits
    • Tristan Leteurtre's avatar
      · af0df274
      Tristan Leteurtre authored
        . ps2ts module fixed
      af0df274
    • Tristan Leteurtre's avatar
      · bb9bbe9b
      Tristan Leteurtre authored
        . Fixes in trickplay
        . rename raw2ts/v4lraw.* to raw2ts/rawencode.*
          this is important since raw2ts module does not depend of
          video4linux at all.
      bb9bbe9b
  5. 05 Aug, 2003 2 commits
    • Tristan Leteurtre's avatar
      · 82c3c422
      Tristan Leteurtre authored
        . Video4linux input repaired !
      
          Lots of clean-ups and optimizations. However, still some tiny
          problems with sound.
      
          By the way, vls' v4linput works with aminocom set-top boxes !
      82c3c422
    • Tristan Leteurtre's avatar
      · 507139c1
      Tristan Leteurtre authored
        . Some cleaning in the TrickModule :
      
          Function :
                             "m_pConverter->GetNextPacket(C_Packet * Packet)"
          is replaced by :
                             "...->GetNextPackets(C_Fifo<C_Packet> * Packet)".
      
          The main reason is that sometimes, it is not easy for the converter
          to give only *one* packet. In the case of the ps2ts converter and
          raw2ts converter, the basic operation for the converter is to
          convert a ps/raw frame into *several* TS packets. In that case, it
          is easier for the converter to give a buffer of several TS packets.
      
          I think this is the right way to do things. This commit is a big
          step to ps2ts and raw2ts reparations.
      
          v4l support and raw2ts will be repaired in my next commit... be patient !
      507139c1
  6. 04 Aug, 2003 1 commit
    • Damien Lucas's avatar
      . Makefile: when profiling with gcc/gprof you have to link with -pg option · 8e8eebe4
      Damien Lucas authored
      . dummyinterface: add a m_bStop attribute so that we can stop it
                        change the sleep delay for 2 sec (delay when stopping)
      . normaltrickplay: add a todo : we should not release a lock that another
                          thread locked
      . telnetinterface: adds a path notion : when in 'xxxxxx' directory 'yy'
         command launches xxxxxx_yy()
      . interface.cpp: unref the module count in the destructor so that we are
          able to unload the module at shutdown
      
      . ALL :
          1/ change the following functions:
              . added 'cd'
              .  changed the 'help' command
              . added 'broadcast/ls'
              . added 'broadcast/add'
              . added 'broadcast/del'
              . added 'broadcast/help'
              . added 'channel/ls'
              . added 'channel/add'
              . added 'channel/del'
              . added 'channel/help'
      
          2/ the manager.cpp file has been split in 3
              . manager_broadcast.cpp contains all the broadcasts related functions
              . manager_channel.cpp contains all the channels related functions
      
          3/ thread structure:
              . all the interface are now threaded and not only the (n-1) first ones.
              . main thread is not any more the last interface one but is now the
                manager one (C_Manager does not inheritate from C_Thread any more)
      
          4/ shutdown
              . fix all the shutdown bugs : vls now shuts down correctly when Ctrl-C
                and when shutdowing from interface
      
      
      
      Plans for a 0.6.0 version
      -------------------------
        I think you should plan a 0.6.0 release. Major improvements would be:
          . interface modularisation
          . v4l input
          . trickplay (even if there is no new feature so far )
          . new telnet command architecture
      
        I identify the following bugs that need to be fixed for the release:
          . v4l input broken since trickplay commit (assigned to tooney)
          . ps2ts converter broken since trickplay commit (assigned to jpsaman)
          . dvb input to be re-wrote (trickplay  & libdvb use) (assigned to me)
      
      if you want to had any new code in that release, please tell us quickly.
      if you know any ug that is not mention here, please tell us too.
      
      thanks
      
      
      regards,
      8e8eebe4
  7. 31 Jul, 2003 1 commit
    • Damien Lucas's avatar
      . ALL : code cleaning and bug fixing (locks on the interfaceList) · d973d927
      Damien Lucas authored
      . manager.cpp : fixed the bug when stopping a program (broke in my last commit)
      . *interfaces : beginning of event handling
      . parsers.cpp : fixed memory leaks
      . localinput.cpp : fixed memory leak
      
      There is still a fixed memory leak at start up due to flex but during a
      streaming process, all the memory is correctly free'd.
      
      vls now stops correctly when Ctrl-C but there are few other bugs to
      correct for the shutdown command.
      d973d927
  8. 02 Jul, 2003 1 commit
    • Jean-Paul Saman's avatar
      - Removed some dead wood · 09392400
      Jean-Paul Saman authored
      - Implemented C_Semaphore::TryWait()
      - Fixed the 9 seconds delay for stopping a stream. The C_SyncFifo()::Pop() and HandlePacket() now make use of C_Semaphore::TryWait() and never block. If the semaphore is already held then the methods Pop() and HandlePacket() will sleep for a predefined time and try again. Should this sleep time be configurable?
      - Fixed a bug in C_TrickPlay::StopWork() using Interrupt() instead of DelayedInterruption().
      09392400
  9. 02 Jun, 2003 2 commits
    • Jean-Paul Saman's avatar
    • Jean-Paul Saman's avatar
      Here comes a big commit. It consists of largely 3 pieces: · 5120a54b
      Jean-Paul Saman authored
      1) Finally added documentation for dynamic configuration and trickplay assignment to inputs.
      
      2) This commit makes architectural changes in the VLS core code. It makes implementation of different Trickplay strategies possible. Currently only one is supported, the default "normal" trickplay. It works just like the old code. For files this code works correctly. Unfortunately I have not been able to test v4l, dvb and video inputs thoroughly, so expect this commit to breaks things in that area. Please do some additional testing.
      
      3) Support for reading large files >2GB has been extended with new compile options and using 64 bits integers explicitly throughout the affected code.
      
      I also did some cleanup with respect to printfs. There are still a lot in this code, they NEED to be eliminated and replaced by Log(hlog, LOG_XXXX, ....) statements.
      5120a54b