## GESVideoTestSource GESVideoTestSource — produce solid colors and patterns |

## Synopsis

    #include <ges/ges.h>

                        GESVideoTestSource;
    GESVideoTestSource * ges_video_test_source_new          (void);
    void                ges_video_test_source_set_pattern   (GESVideoTestSource *self,
                                                             GESVideoTestPattern pattern);
    GESVideoTestPattern ges_video_test_source_get_pattern   (GESVideoTestSource *source);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GESTimelineElement
                   +----GESTrackElement
                         +----GESSource
                               +----GESVideoSource
                                     +----GESVideoTestSource

## Implemented Interfaces

GESVideoTestSource implements GESExtractable and GESMetaContainer.

## Description

## Details

### GESVideoTestSource

    typedef struct _GESVideoTestSource GESVideoTestSource;

### ges_video_test_source_new ()

    GESVideoTestSource * ges_video_test_source_new          (void);

Creates a new GESVideoTestSource.

Returns : | The newly created GESVideoTestSource, or `NULL` if there was an error.

### ges_video_test_source_set_pattern ()

    void                ges_video_test_source_set_pattern   (GESVideoTestSource *self,
                                                             GESVideoTestPattern pattern);

Sets the source to use the given `pattern`.

`self` : | a GESVideoTestSource
`pattern` : | a GESVideoTestPattern

### ges_video_test_source_get_pattern ()

    GESVideoTestPattern ges_video_test_source_get_pattern   (GESVideoTestSource *source);

Get the video pattern used by the `source`.

`source` : | a GESVideoTestPattern
Returns : | The video pattern used by the `source`.