1. 19 Oct, 2008 6 commits
  2. 18 Oct, 2008 7 commits
  3. 17 Oct, 2008 8 commits
  4. 16 Oct, 2008 15 commits
  5. 15 Oct, 2008 4 commits
    • Jean-Baptiste Kempf's avatar
      [Contribs] Small FFMPEGCONF cleanup. · f83418ee
      Jean-Baptiste Kempf authored
      f83418ee
    • Edouard Gomez's avatar
      dshow: try to improve multithreading code for RAW sample grabbing · c7d9a5cd
      Edouard Gomez authored
      # HG changeset patch
      # User Edouard Gomez <ed.gomez@free.fr>
      # Date 1224021637 -7200
      # Node ID 0c4727aa17ba532172cae4aded7d16d70ea4ea53
      # Parent  8e7c3f94407dc1500438237ac6bf3d484bfba742
      dshow: try to improve multithreading code for RAW sample grabbing
      
      This patch tries to address two theoritical problems:
       - The filter capturepin should not lock p_sys->lock. By chance, win32 mt
         locking is recursive by default.
          - Do not lock again, this makes things clearer for poor POSIX coders like
            me.
       - The current code does not try to push samples as fast as it receives them.
         This is caused by the arbitrary msleep call which can differ sample delivery
         with up to 10ms delay. Moreover, only a single sample at a time was processed
         either for audio or for video.
          - Use MT condition instead of sleep so no artificial delay is introduced in
            the delivery chain.
          - Process all available samples at once.
      Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
      c7d9a5cd
    • Edouard Gomez's avatar
      dshow: prevent division by zero · 0dd04d07
      Edouard Gomez authored
      # HG changeset patch
      # User Edouard Gomez <ed.gomez@free.fr>
      # Date 1224021633 -7200
      # Node ID 9564c1736b76c96f37fb85476d36496b3d7955bb
      # Parent  40d5c2186f7fb31e944b5b542b3366bbc420cc0e
      dshow: prevent division by zero
      
      In the DShow capture module, division by zero is possible in
      multiple modulo statements when dealing with granularity values
      returned by capture filters.
      
      Change the code so that:
       - if granularity is zero, then width/height/samplingrate must be
         a perfect match with requested settings.
       - if granularity is non zero, then use the old condition tests.
      
      This fixes real crashes reported by VLC users on different forums.
      
      See:
      http://forum.doom9.org/archive/index.php/t-134655.html
      http://forum.videolan.org/viewtopic.php?f=2&t=37056&p=114065&hilit=blackmagic
      
      Tested with both a Decklink HD Extreme card and a Decklink HD Pro card.
      Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
      0dd04d07
    • Jean-Baptiste Kempf's avatar
      some THANKS. :D · b58e4bab
      Jean-Baptiste Kempf authored
      b58e4bab