Skip to content
Snippets Groups Projects
  1. Aug 08, 2019
    • Romain Vimont's avatar
      vout: fix low framerate stuttering · 6c5eabe7
      Romain Vimont authored and Thomas Guillem's avatar Thomas Guillem committed
      
      In ThreadDisplayPicture(), when "refresh" was true, the output parameter
      deadline was not written and the function returned a non-zero value.
      
      As a consequence, in video_output.c:Thread(), the next loop iteration
      waited for the max deadline (100ms). When the following frame target
      date was before this deadline, the video was stuttering.
      
      To avoid the problem, write the deadline before returning from
      ThreadDisplayPicture(), so that Thread() does not wait more than
      expected.
      
      Since an existing frame is refreshed only every 80ms
      (VOUT_REDISPLAY_DELAY), this happened only on low framerate videos
      (<12.5 fps). Otherwise, "refresh" was always false and the problem never
      occurred.
      
      Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
      6c5eabe7
    • Thomas Guillem's avatar
      input: merge position and length events · d23b4527
      Thomas Guillem authored
      From the es_out, times are a triplet: pos, time, length. So they should be
      sent via a single event and atomically.
      
      This also suppress one player lock when times are updated.
      d23b4527
    • Thomas Guillem's avatar
  2. Aug 07, 2019
    • Thomas Guillem's avatar
      player: reorganize header · b864046a
      Thomas Guillem authored
      Group every struct/enum/functions by group instead of having all structs, all
      enums then all functions.
      
      Split the header by the following doxygen groups:
       - Player instance
       - Playback control
       - Title and chapter control
       - Program control
       - Tracks control
       - Tracks synchronisation (delay)
       - Teletext control
       - External renderer control
       - Audio output control
       - Video output control
       - Player events
      
      No functional changes.
      b864046a
  3. Aug 06, 2019
  4. Aug 05, 2019
  5. Aug 02, 2019
  6. Jul 31, 2019
  7. Jul 30, 2019
Loading