1. 14 Aug, 2003 5 commits
  2. 13 Aug, 2003 7 commits
    • Andrew de Quincey's avatar
      Wee type conversion problem · 8eae25b5
      Andrew de Quincey authored
      8eae25b5
    • Andrew de Quincey's avatar
      05c56a88
    • Andrew de Quincey's avatar
      Application of my ps2ts patch "the biggie" · a872b503
      Andrew de Quincey authored
      1) Rewrite of mpeg/ps2ts.cpp
      	 This fixes loads of issues I found while trying to stream files.
      	 Too many to remember offhand or list here.
      
      2) Added extra functions to cope with end of streams to reader
      interface (specifically for filereader.cpp)
      
      3) Fixed a bug in tsstreamer where it always went into a massively
      long sleep on certain files
      		 At the very start of the stream, it compared the previous PCR to the
      		 current PCR. With the files I was using the current PCR was something
      		 like 5647535365876, and the previous PCR was 0 (as it was the start of
      		 the stream).
      
      4) Fixed --loop so it works as expected. I'm not sure if this is in
      	 line with recent changes, tell me if not.
      a872b503
    • Andrew de Quincey's avatar
      Application of my DVB patch · 7df50bea
      Andrew de Quincey authored
      1) Fix compile failure with latest CVS
      	 Parameter added to C_Broadcast
      
      2) Fix busy loop on DVB signal loss
      	 Occasionally, if the DVB signal is lost (e.g. unplug cable, or just
      tune to an intermittently bad signal), vls enters a busy loop, using
      100% CPU. Not good if you're running vls at priority FIFO 1 (machine
      lockup). This adds extra sleeps to cope with this.
      
      3) Added support to configure.in for later versions of libdvb
      	 Back-compatable with previous versions.
      	 The configure script itself has not updated by me as I'm probably using a
      	 weird version of autoconf.
      7df50bea
    • Andrew de Quincey's avatar
      Application of my videoinput patch · 4c3e7411
      Andrew de Quincey authored
      1) Fix segfault on shutdown
      	 The streamer was being deleted before the trickplay module had
      stopped.
      
      2) Fix segfault on shutdown #2
      	 The streamer module must be deleted LAST, as it deletes the ts
      provider.
      
      3) Cannot stream Mpeg2-TS sources.
      	 Changed "Device" to "Filename"
      4c3e7411
    • 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
    • Damien Lucas's avatar
      . Removed configure file from the cvs · 27f3b188
      Damien Lucas authored
      . Added a bootstrap
      
      . Added a configure option to keep backward compatibility to telnet functions
        (./configure --with-extrafunc=manager_backwardcomp.cpp)
      
      . Begin of backward compatibility (start --loop option fix), still
        a lot of work to do
      
      . fixed 2 segfaults
      
      . added port 1234 as default if none specified at net4output construction
      
      . Some optims
      27f3b188
  3. 11 Aug, 2003 2 commits
    • Tristan Leteurtre's avatar
      · ebe8a9c9
      Tristan Leteurtre authored
        . Solved the segfault in mpeg4_encode_video !
          I can't understand how it could work before ;)
      ebe8a9c9
    • Tristan Leteurtre's avatar
      · 77b3c7b7
      Tristan Leteurtre authored
        . Added Audio *mute* in video4linux streaming.
        . Tiny fix in C_DatedFifo constructor
      77b3c7b7
  4. 08 Aug, 2003 2 commits
    • 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
    • Damien Lucas's avatar
      optims · 53c3e79c
      Damien Lucas authored
      53c3e79c
  5. 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
  6. 05 Aug, 2003 5 commits
    • Damien Lucas's avatar
      . optims · 60c60513
      Damien Lucas authored
      60c60513
    • Tristan Leteurtre's avatar
      · 910253ed
      Tristan Leteurtre authored
         . Fixed my previous commit
           (thank you damien)
      910253ed
    • 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
    • Damien Lucas's avatar
      manager*/admin*: following of my previous work · 5eff70c2
      Damien Lucas authored
                       + use of a method pointers hashtable to handle the command
      telnetinterface : bug fix
      5eff70c2
  7. 04 Aug, 2003 4 commits
    • Damien Lucas's avatar
      cdda7741
    • Damien Lucas's avatar
    • Damien Lucas's avatar
      removed some ugly debug messages · 5b2601eb
      Damien Lucas authored
      5b2601eb
    • 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
  8. 01 Aug, 2003 1 commit
  9. 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
  10. 30 Jul, 2003 3 commits
  11. 27 Jul, 2003 1 commit
  12. 26 Jul, 2003 2 commits
  13. 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
  14. 30 Jun, 2003 1 commit
    • Jean-Paul Saman's avatar
      More fixes for v4l. The v4l module compiles again, but is not useable. · fc0f490a
      Jean-Paul Saman authored
      1) In contrast to my previous post the C_AudioCaptureThread and C_VideoCaptureThread were not moved down to a reader (e.g: v4lreader), but are still in raw2ts.cpp used. The declarations are in a separate file now: v4lraw.cpp and v4lraw.h.
      2) A bit of cleanup
      3) Added a C_DatedFifo to src/server/buffer.h and src/server/buffer.cpp
      
      TODO: Make the function EStoTS() in src/modules/raw2ts/raw2ts.cpp work on a single TS Packet. Maybe by doing to packetizing in 2 steps: a EStoPES() and PEStoTS() function. Tristan what do you think?
      fc0f490a
  15. 26 Jun, 2003 2 commits
    • Damien Lucas's avatar
      fd8bd0a6
    • Damien Lucas's avatar
      . parser.cpp manager.cpp admin.cpp: · c71a7ea7
      Damien Lucas authored
          Changed the 'type' option in the Channel definition to 'streamtype'
           'type' is the ChannelType (network, file, ...)
           'streamtype' is an option for network channel specifying multicast/unicast
      
      . vls.cfg: updated for parameter streamtype
      
      . admin.cpp manger.cpp: modification in the answer for 'show' command.
        optional arguments are now shown only if they were set by the user.
      c71a7ea7
  16. 14 Jun, 2003 1 commit