• Thibault Saunier's avatar
    Make setting encoding profiles more robust · 272f5a60
    Thibault Saunier authored
    When setting an encoding profile from a file we need to make sure
    several restrictions are handled:
    
     - We need to make sure the resulting restriction caps are
       compatible with the encoder that is going to be used by encodebin
    
     - We should ensure that the profile restriction caps are fully taken
       into account (if those restriction are not compatible with the encoder
       we can't do much)
    
     - We need to try as much as possible to use user previously set formats
    
     - We need to ensure fields that are mandatory for us are set in a way
       that is compatible with the encoder
    
    This introduces a utility function (for better testability) that allows
    this kind of caps fixation and some unit tests for this function.
    Reviewed-by: 's avatarAlex Băluț <&lt;alexandru.balut@gmail.com&gt;>
    Differential Revision: https://phabricator.freedesktop.org/D1807
    272f5a60
Name
Last commit
Last update
..
__init__.py Loading commit data...
extract.py Loading commit data...
loggable.py Loading commit data...
misc.py Loading commit data...
pipeline.py Loading commit data...
proxy.py Loading commit data...
ripple_update_group.py Loading commit data...
system.py Loading commit data...
threads.py Loading commit data...
timeline.py Loading commit data...
ui.py Loading commit data...
validate.py Loading commit data...
widgets.py Loading commit data...