~wongchiachen/ubuntu/precise/totem/hey_about_dialog

« back to all changes in this revision

Viewing changes to src/backend/bacon-video-widget-enums.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-05-20 16:38:02 UTC
  • mfrom: (1.11.13 upstream) (2.1.17 experimental)
  • Revision ID: james.westby@ubuntu.com-20110520163802-p3lohdmfvws2jqeo
Tags: 3.0.1-0ubuntu1
* Resynchronize on Debian, remaining diffs:
* debian/control.in:
  - use suggests rather than recommends for universe gstreamer components
  - add totem-plugins-extra for the components which have depends in universe
  - add build-depends on gnome-common, dh-autoreconf, 
    liblaunchpad-intrgration-3.0-dev, hardening-wrapper
  - drop build-depends on libepc-ui-dev, python-feedparser, xulrunner-dev,
    libtracker-sparql-0.10-dev
  - add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - change refences from Iceweasel to Firefox
  - recommends gnome-icon-theme-symbolic rather than depending on it
  - list firefox as a totem-mozilla recommends before epiphany-browser
  - libtotem replaces totem (<< 3.0.1-1) for ppa upgrades
* debian/totem-common.install:
  - Install apport hook
* debian/totem-plugins-extra.install:
  - Plugins split out ouf totem-plugins
* debian/totem-plugins.install:    
  - Move some plugins to totem-plugins-extra
* debian/totem.preinst:
  - No longer required as Lucid has been released
* debian/patches/01_fake_keypresses.patch:
  - dropped it's an old workaround and should not be required
* debian/patches/02_lpi.patch:
  - Launchpad integration
* debian/patches/03_default_options.patch: 
  - enable the youtube option by default
* debian/patches/70_bbc_plugin.patch:
  - bbc content viewer, needs to be fixed for the new version
* debian/source_totem.py:
  - ubuntu apport debugging
* debian/rules:
  - run autoreconf on build
* debian/watch:
  - Watch for unstable versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
 
 
4
#include "bacon-video-widget.h"
 
5
#include "bacon-video-widget-enums.h"
 
6
 
 
7
/* enumerations from "./bacon-video-widget.h" */
 
8
GType
 
9
bvw_error_get_type (void)
 
10
{
 
11
  static GType etype = 0;
 
12
  if (etype == 0) {
 
13
    static const GEnumValue values[] = {
 
14
      { BVW_ERROR_AUDIO_PLUGIN, "BVW_ERROR_AUDIO_PLUGIN", "audio-plugin" },
 
15
      { BVW_ERROR_NO_PLUGIN_FOR_FILE, "BVW_ERROR_NO_PLUGIN_FOR_FILE", "no-plugin-for-file" },
 
16
      { BVW_ERROR_VIDEO_PLUGIN, "BVW_ERROR_VIDEO_PLUGIN", "video-plugin" },
 
17
      { BVW_ERROR_AUDIO_BUSY, "BVW_ERROR_AUDIO_BUSY", "audio-busy" },
 
18
      { BVW_ERROR_BROKEN_FILE, "BVW_ERROR_BROKEN_FILE", "broken-file" },
 
19
      { BVW_ERROR_FILE_GENERIC, "BVW_ERROR_FILE_GENERIC", "file-generic" },
 
20
      { BVW_ERROR_FILE_PERMISSION, "BVW_ERROR_FILE_PERMISSION", "file-permission" },
 
21
      { BVW_ERROR_FILE_ENCRYPTED, "BVW_ERROR_FILE_ENCRYPTED", "file-encrypted" },
 
22
      { BVW_ERROR_FILE_NOT_FOUND, "BVW_ERROR_FILE_NOT_FOUND", "file-not-found" },
 
23
      { BVW_ERROR_DVD_ENCRYPTED, "BVW_ERROR_DVD_ENCRYPTED", "dvd-encrypted" },
 
24
      { BVW_ERROR_INVALID_DEVICE, "BVW_ERROR_INVALID_DEVICE", "invalid-device" },
 
25
      { BVW_ERROR_DEVICE_BUSY, "BVW_ERROR_DEVICE_BUSY", "device-busy" },
 
26
      { BVW_ERROR_UNKNOWN_HOST, "BVW_ERROR_UNKNOWN_HOST", "unknown-host" },
 
27
      { BVW_ERROR_NETWORK_UNREACHABLE, "BVW_ERROR_NETWORK_UNREACHABLE", "network-unreachable" },
 
28
      { BVW_ERROR_CONNECTION_REFUSED, "BVW_ERROR_CONNECTION_REFUSED", "connection-refused" },
 
29
      { BVW_ERROR_INVALID_LOCATION, "BVW_ERROR_INVALID_LOCATION", "invalid-location" },
 
30
      { BVW_ERROR_GENERIC, "BVW_ERROR_GENERIC", "generic" },
 
31
      { BVW_ERROR_CODEC_NOT_HANDLED, "BVW_ERROR_CODEC_NOT_HANDLED", "codec-not-handled" },
 
32
      { BVW_ERROR_AUDIO_ONLY, "BVW_ERROR_AUDIO_ONLY", "audio-only" },
 
33
      { BVW_ERROR_CANNOT_CAPTURE, "BVW_ERROR_CANNOT_CAPTURE", "cannot-capture" },
 
34
      { BVW_ERROR_READ_ERROR, "BVW_ERROR_READ_ERROR", "read-error" },
 
35
      { BVW_ERROR_PLUGIN_LOAD, "BVW_ERROR_PLUGIN_LOAD", "plugin-load" },
 
36
      { BVW_ERROR_EMPTY_FILE, "BVW_ERROR_EMPTY_FILE", "empty-file" },
 
37
      { 0, NULL, NULL }
 
38
    };
 
39
    etype = g_enum_register_static ("BvwError", values);
 
40
  }
 
41
  return etype;
 
42
}
 
43
GType
 
44
bvw_use_type_get_type (void)
 
45
{
 
46
  static GType etype = 0;
 
47
  if (etype == 0) {
 
48
    static const GEnumValue values[] = {
 
49
      { BVW_USE_TYPE_VIDEO, "BVW_USE_TYPE_VIDEO", "video" },
 
50
      { BVW_USE_TYPE_AUDIO, "BVW_USE_TYPE_AUDIO", "audio" },
 
51
      { BVW_USE_TYPE_CAPTURE, "BVW_USE_TYPE_CAPTURE", "capture" },
 
52
      { BVW_USE_TYPE_METADATA, "BVW_USE_TYPE_METADATA", "metadata" },
 
53
      { 0, NULL, NULL }
 
54
    };
 
55
    etype = g_enum_register_static ("BvwUseType", values);
 
56
  }
 
57
  return etype;
 
58
}
 
59
GType
 
60
bvw_connection_speed_get_type (void)
 
61
{
 
62
  static GType etype = 0;
 
63
  if (etype == 0) {
 
64
    static const GEnumValue values[] = {
 
65
      { BVW_SPEED_14_4_MODEM, "BVW_SPEED_14_4_MODEM", "14-4-modem" },
 
66
      { BVW_SPEED_19_2_MODEM, "BVW_SPEED_19_2_MODEM", "19-2-modem" },
 
67
      { BVW_SPEED_28_8_MODEM, "BVW_SPEED_28_8_MODEM", "28-8-modem" },
 
68
      { BVW_SPEED_33_6_MODEM, "BVW_SPEED_33_6_MODEM", "33-6-modem" },
 
69
      { BVW_SPEED_34_4_MODEM, "BVW_SPEED_34_4_MODEM", "34-4-modem" },
 
70
      { BVW_SPEED_56_ISDN, "BVW_SPEED_56_ISDN", "56-isdn" },
 
71
      { BVW_SPEED_112_ISDN, "BVW_SPEED_112_ISDN", "112-isdn" },
 
72
      { BVW_SPEED_256_DSL, "BVW_SPEED_256_DSL", "256-dsl" },
 
73
      { BVW_SPEED_384_DSL, "BVW_SPEED_384_DSL", "384-dsl" },
 
74
      { BVW_SPEED_512_DSL, "BVW_SPEED_512_DSL", "512-dsl" },
 
75
      { BVW_SPEED_1500_T1, "BVW_SPEED_1500_T1", "1500-t1" },
 
76
      { BVW_SPEED_LAN, "BVW_SPEED_LAN", "lan" },
 
77
      { 0, NULL, NULL }
 
78
    };
 
79
    etype = g_enum_register_static ("BvwConnectionSpeed", values);
 
80
  }
 
81
  return etype;
 
82
}
 
83
GType
 
84
bvw_metadata_type_get_type (void)
 
85
{
 
86
  static GType etype = 0;
 
87
  if (etype == 0) {
 
88
    static const GEnumValue values[] = {
 
89
      { BVW_INFO_TITLE, "BVW_INFO_TITLE", "title" },
 
90
      { BVW_INFO_ARTIST, "BVW_INFO_ARTIST", "artist" },
 
91
      { BVW_INFO_YEAR, "BVW_INFO_YEAR", "year" },
 
92
      { BVW_INFO_COMMENT, "BVW_INFO_COMMENT", "comment" },
 
93
      { BVW_INFO_ALBUM, "BVW_INFO_ALBUM", "album" },
 
94
      { BVW_INFO_DURATION, "BVW_INFO_DURATION", "duration" },
 
95
      { BVW_INFO_TRACK_NUMBER, "BVW_INFO_TRACK_NUMBER", "track-number" },
 
96
      { BVW_INFO_COVER, "BVW_INFO_COVER", "cover" },
 
97
      { BVW_INFO_HAS_VIDEO, "BVW_INFO_HAS_VIDEO", "has-video" },
 
98
      { BVW_INFO_DIMENSION_X, "BVW_INFO_DIMENSION_X", "dimension-x" },
 
99
      { BVW_INFO_DIMENSION_Y, "BVW_INFO_DIMENSION_Y", "dimension-y" },
 
100
      { BVW_INFO_VIDEO_BITRATE, "BVW_INFO_VIDEO_BITRATE", "video-bitrate" },
 
101
      { BVW_INFO_VIDEO_CODEC, "BVW_INFO_VIDEO_CODEC", "video-codec" },
 
102
      { BVW_INFO_FPS, "BVW_INFO_FPS", "fps" },
 
103
      { BVW_INFO_HAS_AUDIO, "BVW_INFO_HAS_AUDIO", "has-audio" },
 
104
      { BVW_INFO_AUDIO_BITRATE, "BVW_INFO_AUDIO_BITRATE", "audio-bitrate" },
 
105
      { BVW_INFO_AUDIO_CODEC, "BVW_INFO_AUDIO_CODEC", "audio-codec" },
 
106
      { BVW_INFO_AUDIO_SAMPLE_RATE, "BVW_INFO_AUDIO_SAMPLE_RATE", "audio-sample-rate" },
 
107
      { BVW_INFO_AUDIO_CHANNELS, "BVW_INFO_AUDIO_CHANNELS", "audio-channels" },
 
108
      { 0, NULL, NULL }
 
109
    };
 
110
    etype = g_enum_register_static ("BvwMetadataType", values);
 
111
  }
 
112
  return etype;
 
113
}
 
114
GType
 
115
bvw_visualization_quality_get_type (void)
 
116
{
 
117
  static GType etype = 0;
 
118
  if (etype == 0) {
 
119
    static const GEnumValue values[] = {
 
120
      { BVW_VISUALIZATION_SMALL, "BVW_VISUALIZATION_SMALL", "small" },
 
121
      { BVW_VISUALIZATION_NORMAL, "BVW_VISUALIZATION_NORMAL", "normal" },
 
122
      { BVW_VISUALIZATION_LARGE, "BVW_VISUALIZATION_LARGE", "large" },
 
123
      { BVW_VISUALIZATION_EXTRA_LARGE, "BVW_VISUALIZATION_EXTRA_LARGE", "extra-large" },
 
124
      { 0, NULL, NULL }
 
125
    };
 
126
    etype = g_enum_register_static ("BvwVisualizationQuality", values);
 
127
  }
 
128
  return etype;
 
129
}
 
130
GType
 
131
bvw_video_property_get_type (void)
 
132
{
 
133
  static GType etype = 0;
 
134
  if (etype == 0) {
 
135
    static const GEnumValue values[] = {
 
136
      { BVW_VIDEO_BRIGHTNESS, "BVW_VIDEO_BRIGHTNESS", "brightness" },
 
137
      { BVW_VIDEO_CONTRAST, "BVW_VIDEO_CONTRAST", "contrast" },
 
138
      { BVW_VIDEO_SATURATION, "BVW_VIDEO_SATURATION", "saturation" },
 
139
      { BVW_VIDEO_HUE, "BVW_VIDEO_HUE", "hue" },
 
140
      { 0, NULL, NULL }
 
141
    };
 
142
    etype = g_enum_register_static ("BvwVideoProperty", values);
 
143
  }
 
144
  return etype;
 
145
}
 
146
GType
 
147
bvw_aspect_ratio_get_type (void)
 
148
{
 
149
  static GType etype = 0;
 
150
  if (etype == 0) {
 
151
    static const GEnumValue values[] = {
 
152
      { BVW_RATIO_AUTO, "BVW_RATIO_AUTO", "auto" },
 
153
      { BVW_RATIO_SQUARE, "BVW_RATIO_SQUARE", "square" },
 
154
      { BVW_RATIO_FOURBYTHREE, "BVW_RATIO_FOURBYTHREE", "fourbythree" },
 
155
      { BVW_RATIO_ANAMORPHIC, "BVW_RATIO_ANAMORPHIC", "anamorphic" },
 
156
      { BVW_RATIO_DVB, "BVW_RATIO_DVB", "dvb" },
 
157
      { 0, NULL, NULL }
 
158
    };
 
159
    etype = g_enum_register_static ("BvwAspectRatio", values);
 
160
  }
 
161
  return etype;
 
162
}
 
163
GType
 
164
bvw_dvd_event_get_type (void)
 
165
{
 
166
  static GType etype = 0;
 
167
  if (etype == 0) {
 
168
    static const GEnumValue values[] = {
 
169
      { BVW_DVD_ROOT_MENU, "BVW_DVD_ROOT_MENU", "root-menu" },
 
170
      { BVW_DVD_TITLE_MENU, "BVW_DVD_TITLE_MENU", "title-menu" },
 
171
      { BVW_DVD_SUBPICTURE_MENU, "BVW_DVD_SUBPICTURE_MENU", "subpicture-menu" },
 
172
      { BVW_DVD_AUDIO_MENU, "BVW_DVD_AUDIO_MENU", "audio-menu" },
 
173
      { BVW_DVD_ANGLE_MENU, "BVW_DVD_ANGLE_MENU", "angle-menu" },
 
174
      { BVW_DVD_CHAPTER_MENU, "BVW_DVD_CHAPTER_MENU", "chapter-menu" },
 
175
      { BVW_DVD_NEXT_CHAPTER, "BVW_DVD_NEXT_CHAPTER", "next-chapter" },
 
176
      { BVW_DVD_PREV_CHAPTER, "BVW_DVD_PREV_CHAPTER", "prev-chapter" },
 
177
      { BVW_DVD_NEXT_TITLE, "BVW_DVD_NEXT_TITLE", "next-title" },
 
178
      { BVW_DVD_PREV_TITLE, "BVW_DVD_PREV_TITLE", "prev-title" },
 
179
      { BVW_DVD_NEXT_ANGLE, "BVW_DVD_NEXT_ANGLE", "next-angle" },
 
180
      { BVW_DVD_PREV_ANGLE, "BVW_DVD_PREV_ANGLE", "prev-angle" },
 
181
      { BVW_DVD_ROOT_MENU_UP, "BVW_DVD_ROOT_MENU_UP", "root-menu-up" },
 
182
      { BVW_DVD_ROOT_MENU_DOWN, "BVW_DVD_ROOT_MENU_DOWN", "root-menu-down" },
 
183
      { BVW_DVD_ROOT_MENU_LEFT, "BVW_DVD_ROOT_MENU_LEFT", "root-menu-left" },
 
184
      { BVW_DVD_ROOT_MENU_RIGHT, "BVW_DVD_ROOT_MENU_RIGHT", "root-menu-right" },
 
185
      { BVW_DVD_ROOT_MENU_SELECT, "BVW_DVD_ROOT_MENU_SELECT", "root-menu-select" },
 
186
      { 0, NULL, NULL }
 
187
    };
 
188
    etype = g_enum_register_static ("BvwDVDEvent", values);
 
189
  }
 
190
  return etype;
 
191
}
 
192
GType
 
193
bvw_audio_output_type_get_type (void)
 
194
{
 
195
  static GType etype = 0;
 
196
  if (etype == 0) {
 
197
    static const GEnumValue values[] = {
 
198
      { BVW_AUDIO_SOUND_STEREO, "BVW_AUDIO_SOUND_STEREO", "stereo" },
 
199
      { BVW_AUDIO_SOUND_4CHANNEL, "BVW_AUDIO_SOUND_4CHANNEL", "4channel" },
 
200
      { BVW_AUDIO_SOUND_41CHANNEL, "BVW_AUDIO_SOUND_41CHANNEL", "41channel" },
 
201
      { BVW_AUDIO_SOUND_5CHANNEL, "BVW_AUDIO_SOUND_5CHANNEL", "5channel" },
 
202
      { BVW_AUDIO_SOUND_51CHANNEL, "BVW_AUDIO_SOUND_51CHANNEL", "51channel" },
 
203
      { BVW_AUDIO_SOUND_AC3PASSTHRU, "BVW_AUDIO_SOUND_AC3PASSTHRU", "ac3passthru" },
 
204
      { 0, NULL, NULL }
 
205
    };
 
206
    etype = g_enum_register_static ("BvwAudioOutputType", values);
 
207
  }
 
208
  return etype;
 
209
}
 
210
 
 
211
 
 
212