Skip to content
  • Seungha Yang's avatar
    pluginfeature: Allow updating initial rank of plugin feature · 52706146
    Seungha Yang authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    Introducing "GST_PLUGIN_FEATURE_RANK" environment variable in order for users
    to adjust rank of plugin(s) via environment.
    
    A "feature" and "rank" key-value pair should be separable by ":",
    and each key-value pair is recognized per "," delimiters. The rank
    can be a numerical value or one of pre-defined rank values
    such as "NONE", "MARGINAL", "SECONDARY", and "PRIMARY" in case-insensitive manner.
    
    In addition to pre-defined { NONE, MARGINAL, SECONDARY, PRIMARY },
    "MAX" can be passed to key value used to ensure having a higher rank
    than other plugin features.
    
    Example)
    - GST_PLUGIN_FEATURE_RANK=qtdemux:256,h264parse:NONE
    Set rank of qtdemux plugin to 256 (primary) and 0 (none) for h264parse.
    52706146