Skip to content
Snippets Groups Projects
  1. Mar 27, 2012
  2. Mar 19, 2012
  3. Mar 14, 2012
  4. Mar 08, 2012
  5. Feb 29, 2012
  6. Jan 15, 2012
  7. Jan 11, 2012
  8. Jan 09, 2012
  9. Jan 07, 2012
  10. Jan 05, 2012
  11. Dec 27, 2011
  12. Dec 20, 2011
  13. Dec 19, 2011
  14. Dec 14, 2011
  15. Dec 13, 2011
  16. Dec 11, 2011
  17. Dec 05, 2011
  18. Dec 01, 2011
  19. Nov 27, 2011
  20. Nov 21, 2011
  21. Nov 17, 2011
  22. Nov 11, 2011
  23. Nov 08, 2011
  24. Nov 04, 2011
  25. Oct 31, 2011
  26. Oct 24, 2011
  27. Oct 20, 2011
  28. Oct 16, 2011
    • Jean First's avatar
      72776adf
    • Marton Balint's avatar
      ffplay: add delay multiple times to frame_timer if it is less than current time · abb0e4f6
      Marton Balint authored
      
      If the picture queue is empty, or when the calculated delay is 0, frame_timer
      is not increased but we are still displaying the old frame. When we eventually
      get a frame, where the computed delay is positive, so we don't need to drop any
      more frames, then it is best to update frame_timer to be as near as the current
      time as it can.
      
      This way we dont't have to wait several frames to add the necesarry delays to
      frame_timer to reach current time, therefore there are no extra frame drops
      after reaching a positive delay.
      
      Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
      abb0e4f6
    • Marton Balint's avatar
      ffplay: remove early frame drop functionality · d2d8e1e5
      Marton Balint authored
      
      The current impementation of early frame drops (dropping frames before adding
      them to the picture queue) has multiple problems:
      
      Even after gettin A-V sync, the frame droping continues until
      VideoState->skip_frames reaches 1, which can take a lot of time causing useless
      additional frame drops and bad AV-sync. This issue can be easily triggered with
      for example changing the audio stream.
      
      Also video_refresh currenly does not handle early skipped frames in every case,
      for example if we skip a frame, then the last frame duration calculation will
      compute the duration of the sum of the skipped frame and the duration of the
      frame before that, and in compute_target_delay we may multiply this unusually
      big delay.
      
      Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
      d2d8e1e5
Loading