## GstTypes

GstTypes — various global enums and constants

## Synopsis

    enum        GstElementState;
    enum        GstElementStateReturn;
    enum        GstResult;
    #define     GST_RANK_PRIMARY
    #define     GST_RANK_SECONDARY
    #define     GST_RANK_MARGINAL
    #define     GST_RANK_NONE
    #define     GST_PADDING
    #define     GST_PADDING_INIT

## Description

## Details

### enum GstElementState

    typedef enum {
      GST_STATE_VOID_PENDING        = 0,
      GST_STATE_NULL                = (1 << 0),
      GST_STATE_READY               = (1 << 1),
      GST_STATE_PAUSED              = (1 << 2),
      GST_STATE_PLAYING             = (1 << 3)
    } GstElementState;

### enum GstElementStateReturn

    typedef enum {
      GST_STATE_FAILURE             = 0,
      GST_STATE_SUCCESS             = 1,
      GST_STATE_ASYNC               = 2
    } GstElementStateReturn;

### enum GstResult

    typedef enum {
      GST_RESULT_OK,
      GST_RESULT_NOK,
      GST_RESULT_NOT_IMPL
    } GstResult;

### GST_RANK_PRIMARY

    #define GST_RANK_PRIMARY    256

### GST_RANK_SECONDARY

    #define GST_RANK_SECONDARY  128

### GST_RANK_MARGINAL

    #define GST_RANK_MARGINAL   64

### GST_RANK_NONE

    #define GST_RANK_NONE       0

### GST_PADDING

    #define GST_PADDING 4

### GST_PADDING_INIT

    #define GST_PADDING_INIT	{ 0 }