Skip to content

Use always parsebin and GST_PLUGIN_FEATURE_RANK #328

@rgonzalezfluendo

Description

@rgonzalezfluendo

Using parsebin doesn't work if the decoder doesn't have the max priority. The parsebin element was designed to be used with playbin and uses all the GST_ELEMENT_FACTORY_TYPE_DECODABLE factories available to define the caps to use (note gst_parse_bin_update_factories_list).

The generic solution is to use GST_PLUGIN_FEATURE_RANK=%targetdecoder%:MAX to be sure parsebin uses the correct decoder, but it requires to extract the decoder element from the decoder_bin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions