# autoconvert

The autoconvert element has one sink and one source pad. It will look for other elements that also have one sink and one source pad. It will then pick an element that matches the caps on both sides. If the caps change, it may change the selected element if the current one no longer matches the caps.

The list of element it will look into can be specified in the factories property, otherwise it will look at all available elements.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBin
                        ╰──GstBaseAutoConvert
                            ╰──autoconvert

## Implemented interfaces

    GstChildProxy

## Factory details

Authors: – Olivier Crete <olivier.crete@collabora.com></olivier.crete@collabora.com>

Classification: – `Generic/Bin`

Rank – none

Plugin – autoconvert

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    ANY

Presence – always

Direction – sink

Object type – GstPad

### `src`

    ANY

Presence – always

Direction – src

Object type – GstPad

## Properties

### factories

    “factories” gpointer

GList of GstElementFactory objects to pick from (the element takes ownership of the list (NULL means it will go through all possible elements), can only be set once

Flags : Read / Write

### factory-names

    “factory-names” GstValueArray *

A GstValueArray of factory names to use

Flags : Read / Write

Since : 1.24

The results of the search are