~ubuntu-branches/debian/jessie/smplayer/jessie

« back to all changes in this revision

Viewing changes to src/mediasettings.cpp

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-02-16 11:51:44 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20120216115144-hkpz36a4h5f3x9w3
Tags: 0.7.0-1
* Team upload.
* New upstream release (Closes: #655125):
  - Changes since 0.6.10:
    + New favorite menu, where you can add your favorite videos, music,
       streams, youtube videos... It's also possible to add submenus.
    + Support for youtube. Now you can open urls like
      http://www.youtube.com/watch?v=..... using the Open -> URL dialog or
      dragging a link from a browser to the smplayer window.
    + Support for mplayer2 (http://www.mplayer2.org). It's a fork of mplayer
      with interesting features like precise seeking, ordered chapters in
      mkv videos and better pause handling (e.g. seek works while the video
      is paused).
    + New translation: croatian.
  - Changes since 0.6.9:
    + New vdpau configuration dialog, which allow to select the vdpau codecs
      to use. (Closes: #610204)
    + Port for eCS, OS/2 (by Silvan Scherrer).
    + New menu to select the closed caption channel (requires mplayer >=
      r32607).
    + Possibility to select the seeking method (absolute or relative).
    + Possibility to sort the items of the playlist.
* Remove debian/patches/enable_ffodivxvdpau.diff, the application now
  provides a configuration dialog for vdpau.
* Refresh handle_local_urls.diff.
* Update copyright notice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
56
56
        sub_scale = pref->initial_sub_scale; 
57
57
        sub_scale_ass = pref->initial_sub_scale_ass;
58
58
 
 
59
        closed_caption_channel = 0; // disabled
 
60
 
59
61
        brightness = pref->initial_brightness;
60
62
        contrast = pref->initial_contrast;
61
63
        gamma = pref->initial_gamma;
193
195
        qDebug("  sub_scale: %f", sub_scale);
194
196
        qDebug("  sub_scale_ass: %f", sub_scale_ass);
195
197
 
 
198
        qDebug("  closed_caption_channel: %d", closed_caption_channel);
 
199
 
196
200
        qDebug("  brightness: %d", brightness);
197
201
        qDebug("  contrast: %d", contrast);
198
202
        qDebug("  gamma: %d", gamma);
285
289
        set->setValue( "sub_scale", sub_scale);
286
290
        set->setValue( "sub_scale_ass", sub_scale_ass);
287
291
 
 
292
        set->setValue( "closed_caption_channel", closed_caption_channel);
 
293
 
288
294
        set->setValue( "brightness", brightness);
289
295
        set->setValue( "contrast", contrast);
290
296
        set->setValue( "gamma", gamma);
380
386
        sub_scale = set->value( "sub_scale", sub_scale).toDouble();
381
387
        sub_scale_ass = set->value( "sub_scale_ass", sub_scale_ass).toDouble();
382
388
 
 
389
        closed_caption_channel = set->value( "closed_caption_channel", closed_caption_channel).toInt();
 
390
 
383
391
        brightness = set->value( "brightness", brightness).toInt();
384
392
        contrast = set->value( "contrast", contrast).toInt();
385
393
        gamma = set->value( "gamma", gamma).toInt();