Skip to content
Snippets Groups Projects
  1. Dec 23, 2021
  2. Dec 22, 2021
    • Romain Vimont's avatar
      vout: simplify deadline handling · 4716c6f7
      Romain Vimont authored and Romain Vimont's avatar Romain Vimont committed
      The deadline computation was shared between the vout thread function and
      DisplayPicture(), both by hacking the return value (VLC_EGENERIC meaning
      "wait") and using an output parameter, to handle 3 possible cases:
       - VLC_SUCCESS: do not wait
       - VLC_EGENERIC and deadline set: wait for deadline
       - VLC_EGENERIC and deadline not set: wait but no deadline is known
      
      In case of VLC_EGENERIC, the vout thread function computed the max
      between the returned value and 100ms.
      
      Simplify by computing the expected deadline from DisplayPicture()
      directly.
      4716c6f7
    • Thomas Guillem's avatar
      resource: remove duplicated code · c00bec8b
      Thomas Guillem authored
      This code is already handled in vout_Request().
      
      Fixes #26394
      c00bec8b
    • Thomas Guillem's avatar
      resource: don't send the started event more than one time · e045c859
      Thomas Guillem authored
      Refs #26394
      e045c859
Loading