
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "bacon-video-widget-enums.h"
#include "bacon-video-widget.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "bacon-video-widget.h" */

GType
bvw_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_ERROR_NO_PLUGIN_FOR_FILE), "BVW_ERROR_NO_PLUGIN_FOR_FILE", "no-plugin-for-file" },
        { C_ENUM (BVW_ERROR_BROKEN_FILE), "BVW_ERROR_BROKEN_FILE", "broken-file" },
        { C_ENUM (BVW_ERROR_FILE_GENERIC), "BVW_ERROR_FILE_GENERIC", "file-generic" },
        { C_ENUM (BVW_ERROR_FILE_PERMISSION), "BVW_ERROR_FILE_PERMISSION", "file-permission" },
        { C_ENUM (BVW_ERROR_FILE_ENCRYPTED), "BVW_ERROR_FILE_ENCRYPTED", "file-encrypted" },
        { C_ENUM (BVW_ERROR_FILE_NOT_FOUND), "BVW_ERROR_FILE_NOT_FOUND", "file-not-found" },
        { C_ENUM (BVW_ERROR_DVD_ENCRYPTED), "BVW_ERROR_DVD_ENCRYPTED", "dvd-encrypted" },
        { C_ENUM (BVW_ERROR_INVALID_DEVICE), "BVW_ERROR_INVALID_DEVICE", "invalid-device" },
        { C_ENUM (BVW_ERROR_UNKNOWN_HOST), "BVW_ERROR_UNKNOWN_HOST", "unknown-host" },
        { C_ENUM (BVW_ERROR_NETWORK_UNREACHABLE), "BVW_ERROR_NETWORK_UNREACHABLE", "network-unreachable" },
        { C_ENUM (BVW_ERROR_CONNECTION_REFUSED), "BVW_ERROR_CONNECTION_REFUSED", "connection-refused" },
        { C_ENUM (BVW_ERROR_INVALID_LOCATION), "BVW_ERROR_INVALID_LOCATION", "invalid-location" },
        { C_ENUM (BVW_ERROR_GENERIC), "BVW_ERROR_GENERIC", "generic" },
        { C_ENUM (BVW_ERROR_CODEC_NOT_HANDLED), "BVW_ERROR_CODEC_NOT_HANDLED", "codec-not-handled" },
        { C_ENUM (BVW_ERROR_CANNOT_CAPTURE), "BVW_ERROR_CANNOT_CAPTURE", "cannot-capture" },
        { C_ENUM (BVW_ERROR_READ_ERROR), "BVW_ERROR_READ_ERROR", "read-error" },
        { C_ENUM (BVW_ERROR_PLUGIN_LOAD), "BVW_ERROR_PLUGIN_LOAD", "plugin-load" },
        { C_ENUM (BVW_ERROR_EMPTY_FILE), "BVW_ERROR_EMPTY_FILE", "empty-file" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_metadata_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_INFO_TITLE), "BVW_INFO_TITLE", "title" },
        { C_ENUM (BVW_INFO_ARTIST), "BVW_INFO_ARTIST", "artist" },
        { C_ENUM (BVW_INFO_YEAR), "BVW_INFO_YEAR", "year" },
        { C_ENUM (BVW_INFO_COMMENT), "BVW_INFO_COMMENT", "comment" },
        { C_ENUM (BVW_INFO_ALBUM), "BVW_INFO_ALBUM", "album" },
        { C_ENUM (BVW_INFO_DURATION), "BVW_INFO_DURATION", "duration" },
        { C_ENUM (BVW_INFO_TRACK_NUMBER), "BVW_INFO_TRACK_NUMBER", "track-number" },
        { C_ENUM (BVW_INFO_CONTAINER), "BVW_INFO_CONTAINER", "container" },
        { C_ENUM (BVW_INFO_HAS_VIDEO), "BVW_INFO_HAS_VIDEO", "has-video" },
        { C_ENUM (BVW_INFO_DIMENSION_X), "BVW_INFO_DIMENSION_X", "dimension-x" },
        { C_ENUM (BVW_INFO_DIMENSION_Y), "BVW_INFO_DIMENSION_Y", "dimension-y" },
        { C_ENUM (BVW_INFO_VIDEO_BITRATE), "BVW_INFO_VIDEO_BITRATE", "video-bitrate" },
        { C_ENUM (BVW_INFO_VIDEO_CODEC), "BVW_INFO_VIDEO_CODEC", "video-codec" },
        { C_ENUM (BVW_INFO_FPS), "BVW_INFO_FPS", "fps" },
        { C_ENUM (BVW_INFO_HAS_AUDIO), "BVW_INFO_HAS_AUDIO", "has-audio" },
        { C_ENUM (BVW_INFO_AUDIO_BITRATE), "BVW_INFO_AUDIO_BITRATE", "audio-bitrate" },
        { C_ENUM (BVW_INFO_AUDIO_CODEC), "BVW_INFO_AUDIO_CODEC", "audio-codec" },
        { C_ENUM (BVW_INFO_AUDIO_SAMPLE_RATE), "BVW_INFO_AUDIO_SAMPLE_RATE", "audio-sample-rate" },
        { C_ENUM (BVW_INFO_AUDIO_CHANNELS), "BVW_INFO_AUDIO_CHANNELS", "audio-channels" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwMetadataType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_video_property_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_VIDEO_BRIGHTNESS), "BVW_VIDEO_BRIGHTNESS", "brightness" },
        { C_ENUM (BVW_VIDEO_CONTRAST), "BVW_VIDEO_CONTRAST", "contrast" },
        { C_ENUM (BVW_VIDEO_SATURATION), "BVW_VIDEO_SATURATION", "saturation" },
        { C_ENUM (BVW_VIDEO_HUE), "BVW_VIDEO_HUE", "hue" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwVideoProperty"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_aspect_ratio_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_RATIO_AUTO), "BVW_RATIO_AUTO", "auto" },
        { C_ENUM (BVW_RATIO_SQUARE), "BVW_RATIO_SQUARE", "square" },
        { C_ENUM (BVW_RATIO_FOURBYTHREE), "BVW_RATIO_FOURBYTHREE", "fourbythree" },
        { C_ENUM (BVW_RATIO_ANAMORPHIC), "BVW_RATIO_ANAMORPHIC", "anamorphic" },
        { C_ENUM (BVW_RATIO_DVB), "BVW_RATIO_DVB", "dvb" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwAspectRatio"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_zoom_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_ZOOM_NONE), "BVW_ZOOM_NONE", "none" },
        { C_ENUM (BVW_ZOOM_EXPAND), "BVW_ZOOM_EXPAND", "expand" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwZoomMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_rotation_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_ROTATION_R_ZERO), "BVW_ROTATION_R_ZERO", "zero" },
        { C_ENUM (BVW_ROTATION_R_90R), "BVW_ROTATION_R_90R", "90r" },
        { C_ENUM (BVW_ROTATION_R_180), "BVW_ROTATION_R_180", "180" },
        { C_ENUM (BVW_ROTATION_R_90L), "BVW_ROTATION_R_90L", "90l" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwRotation"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_dvd_event_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_DVD_ROOT_MENU), "BVW_DVD_ROOT_MENU", "root-menu" },
        { C_ENUM (BVW_DVD_TITLE_MENU), "BVW_DVD_TITLE_MENU", "title-menu" },
        { C_ENUM (BVW_DVD_SUBPICTURE_MENU), "BVW_DVD_SUBPICTURE_MENU", "subpicture-menu" },
        { C_ENUM (BVW_DVD_AUDIO_MENU), "BVW_DVD_AUDIO_MENU", "audio-menu" },
        { C_ENUM (BVW_DVD_ANGLE_MENU), "BVW_DVD_ANGLE_MENU", "angle-menu" },
        { C_ENUM (BVW_DVD_CHAPTER_MENU), "BVW_DVD_CHAPTER_MENU", "chapter-menu" },
        { C_ENUM (BVW_DVD_NEXT_CHAPTER), "BVW_DVD_NEXT_CHAPTER", "next-chapter" },
        { C_ENUM (BVW_DVD_PREV_CHAPTER), "BVW_DVD_PREV_CHAPTER", "prev-chapter" },
        { C_ENUM (BVW_DVD_NEXT_TITLE), "BVW_DVD_NEXT_TITLE", "next-title" },
        { C_ENUM (BVW_DVD_PREV_TITLE), "BVW_DVD_PREV_TITLE", "prev-title" },
        { C_ENUM (BVW_DVD_ROOT_MENU_UP), "BVW_DVD_ROOT_MENU_UP", "root-menu-up" },
        { C_ENUM (BVW_DVD_ROOT_MENU_DOWN), "BVW_DVD_ROOT_MENU_DOWN", "root-menu-down" },
        { C_ENUM (BVW_DVD_ROOT_MENU_LEFT), "BVW_DVD_ROOT_MENU_LEFT", "root-menu-left" },
        { C_ENUM (BVW_DVD_ROOT_MENU_RIGHT), "BVW_DVD_ROOT_MENU_RIGHT", "root-menu-right" },
        { C_ENUM (BVW_DVD_ROOT_MENU_SELECT), "BVW_DVD_ROOT_MENU_SELECT", "root-menu-select" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwDVDEvent"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_track_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_TRACK_TYPE_AUDIO), "BVW_TRACK_TYPE_AUDIO", "audio" },
        { C_ENUM (BVW_TRACK_TYPE_SUBTITLE), "BVW_TRACK_TYPE_SUBTITLE", "subtitle" },
        { C_ENUM (BVW_TRACK_TYPE_VIDEO), "BVW_TRACK_TYPE_VIDEO", "video" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwTrackType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bvw_audio_output_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BVW_AUDIO_SOUND_STEREO), "BVW_AUDIO_SOUND_STEREO", "stereo" },
        { C_ENUM (BVW_AUDIO_SOUND_4CHANNEL), "BVW_AUDIO_SOUND_4CHANNEL", "4channel" },
        { C_ENUM (BVW_AUDIO_SOUND_41CHANNEL), "BVW_AUDIO_SOUND_41CHANNEL", "41channel" },
        { C_ENUM (BVW_AUDIO_SOUND_5CHANNEL), "BVW_AUDIO_SOUND_5CHANNEL", "5channel" },
        { C_ENUM (BVW_AUDIO_SOUND_51CHANNEL), "BVW_AUDIO_SOUND_51CHANNEL", "51channel" },
        { C_ENUM (BVW_AUDIO_SOUND_AC3PASSTHRU), "BVW_AUDIO_SOUND_AC3PASSTHRU", "ac3passthru" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BvwAudioOutputType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

