~wongchiachen/ubuntu/precise/totem/hey_about_dialog

« back to all changes in this revision

Viewing changes to src/backend/bacon-video-widget.h

  • 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:
220
220
void bacon_video_widget_set_auto_resize          (BaconVideoWidget *bvw,
221
221
                                                  gboolean auto_resize);
222
222
 
 
223
/**
 
224
 * BvwConnectionSpeed:
 
225
 * @BVW_SPEED_14_4_MODEM: 14.4 Kbps Modem
 
226
 * @BVW_SPEED_19_2_MODEM: 19.2 Kbps Modem
 
227
 * @BVW_SPEED_28_8_MODEM: 28.8 Kbps Modem
 
228
 * @BVW_SPEED_33_6_MODEM: 33.6 Kbps Modem
 
229
 * @BVW_SPEED_34_4_MODEM: 34.4 Kbps Modem
 
230
 * @BVW_SPEED_56_ISDN: 56 Kbps Modem/ISDN
 
231
 * @BVW_SPEED_112_ISDN: 112 Kbps Dual ISDN/DSL
 
232
 * @BVW_SPEED_256_DSL: 256 Kbps DSL/Cable
 
233
 * @BVW_SPEED_384_DSL: 384 Kbps DSL/Cable
 
234
 * @BVW_SPEED_512_DSL: 512 Kbps DSL/Cable
 
235
 * @BVW_SPEED_1500_T1: 1.5 Mbps T1/Intranet/LAN
 
236
 * @BVW_SPEED_LAN: Intranet/LAN
 
237
 *
 
238
 * The different connection speeds understood by bacon_video_widget_set_connection_speed().
 
239
 */
 
240
typedef enum {
 
241
        BVW_SPEED_14_4_MODEM = 0,
 
242
        BVW_SPEED_19_2_MODEM,
 
243
        BVW_SPEED_28_8_MODEM,
 
244
        BVW_SPEED_33_6_MODEM,
 
245
        BVW_SPEED_34_4_MODEM,
 
246
        BVW_SPEED_56_ISDN,
 
247
        BVW_SPEED_112_ISDN,
 
248
        BVW_SPEED_256_DSL,
 
249
        BVW_SPEED_384_DSL,
 
250
        BVW_SPEED_512_DSL,
 
251
        BVW_SPEED_1500_T1,
 
252
        BVW_SPEED_LAN
 
253
} BvwConnectionSpeed;
 
254
 
223
255
void bacon_video_widget_set_connection_speed     (BaconVideoWidget *bvw,
224
256
                                                  int speed);
225
257
int bacon_video_widget_get_connection_speed      (BaconVideoWidget *bvw);
295
327
 
296
328
/* Visualisation functions */
297
329
/**
298
 
 * BvwVisualsQuality:
299
 
 * @VISUAL_SMALL: small size (240×15)
300
 
 * @VISUAL_NORMAL: normal size (320×25)
301
 
 * @VISUAL_LARGE: large size (480×25)
302
 
 * @VISUAL_EXTRA_LARGE: extra large size (600×30)
303
 
 * @NUM_VISUAL_QUALITIES: the number of visual qualities available
 
330
 * BvwVisualizationQuality:
 
331
 * @BVW_VISUALIZATION_SMALL: small size (240×15)
 
332
 * @BVW_VISUALIZATION_NORMAL: normal size (320×25)
 
333
 * @BVW_VISUALIZATION_LARGE: large size (480×25)
 
334
 * @BVW_VISUALIZATION_EXTRA_LARGE: extra large size (600×30)
304
335
 *
305
336
 * The different visualisation sizes or qualities available for use
306
 
 * with bacon_video_widget_set_visuals_quality().
 
337
 * with bacon_video_widget_set_visualization_quality().
307
338
 **/
308
339
typedef enum {
309
 
        VISUAL_SMALL = 0,
310
 
        VISUAL_NORMAL,
311
 
        VISUAL_LARGE,
312
 
        VISUAL_EXTRA_LARGE,
313
 
        NUM_VISUAL_QUALITIES
314
 
} BvwVisualsQuality;
 
340
        BVW_VISUALIZATION_SMALL = 0,
 
341
        BVW_VISUALIZATION_NORMAL,
 
342
        BVW_VISUALIZATION_LARGE,
 
343
        BVW_VISUALIZATION_EXTRA_LARGE
 
344
} BvwVisualizationQuality;
315
345
 
316
 
void bacon_video_widget_set_show_visuals          (BaconVideoWidget *bvw,
317
 
                                                   gboolean show_visuals);
318
 
GList *bacon_video_widget_get_visuals_list        (BaconVideoWidget *bvw);
319
 
gboolean bacon_video_widget_set_visuals           (BaconVideoWidget *bvw,
 
346
void bacon_video_widget_set_show_visualizations   (BaconVideoWidget *bvw,
 
347
                                                   gboolean show_visualizations);
 
348
GList *bacon_video_widget_get_visualization_list  (BaconVideoWidget *bvw);
 
349
void bacon_video_widget_set_visualization         (BaconVideoWidget *bvw,
320
350
                                                   const char *name);
321
 
void bacon_video_widget_set_visuals_quality       (BaconVideoWidget *bvw,
322
 
                                                   BvwVisualsQuality quality);
 
351
void bacon_video_widget_set_visualization_quality (BaconVideoWidget *bvw,
 
352
                                                   BvwVisualizationQuality quality);
323
353
 
324
354
/* Picture settings */
325
355
/**
448
478
 
449
479
/* Audio-out functions */
450
480
/**
451
 
 * BvwAudioOutType:
 
481
 * BvwAudioOutputType:
452
482
 * @BVW_AUDIO_SOUND_STEREO: stereo output
453
483
 * @BVW_AUDIO_SOUND_4CHANNEL: 4-channel output
454
484
 * @BVW_AUDIO_SOUND_41CHANNEL: 4.1-channel output
456
486
 * @BVW_AUDIO_SOUND_51CHANNEL: 5.1-channel output
457
487
 * @BVW_AUDIO_SOUND_AC3PASSTHRU: AC3 passthrough output
458
488
 *
459
 
 * The audio output types available for use with bacon_video_widget_set_audio_out_type().
 
489
 * The audio output types available for use with bacon_video_widget_set_audio_output_type().
460
490
 **/
461
491
typedef enum {
462
492
        BVW_AUDIO_SOUND_STEREO,
465
495
        BVW_AUDIO_SOUND_5CHANNEL,
466
496
        BVW_AUDIO_SOUND_51CHANNEL,
467
497
        BVW_AUDIO_SOUND_AC3PASSTHRU
468
 
} BvwAudioOutType;
 
498
} BvwAudioOutputType;
469
499
 
470
 
BvwAudioOutType bacon_video_widget_get_audio_out_type
 
500
BvwAudioOutputType bacon_video_widget_get_audio_output_type
471
501
                                                 (BaconVideoWidget *bvw);
472
 
gboolean bacon_video_widget_set_audio_out_type   (BaconVideoWidget *bvw,
473
 
                                                  BvwAudioOutType type);
 
502
void bacon_video_widget_set_audio_output_type    (BaconVideoWidget *bvw,
 
503
                                                  BvwAudioOutputType type);
474
504
 
475
505
G_END_DECLS
476
506