~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to libs/libmythtv/tv_play.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey), Jamie Bennett, Mario Limonciello, Dave Walker (Daviey)
  • Date: 2010-03-23 19:32:33 UTC
  • mfrom: (1.1.49 upstream)
  • Revision ID: james.westby@ubuntu.com-20100323193233-5sv9djoxtlmwt3ca
Tags: 0.23.0+fixes23789-0ubuntu1
[ Jamie Bennett ]
* Fix FTBFS on armel (LP: #537714)

[ Mario Limonciello ]
* mythtv-{common,backend}.{config,templates,postinst}: (LP: #483748)
  - Simplify debconf questions by avoiding showing the generated pw
  - Don't warn about mythtv group.
  - Don't notify about running mythtv-setup.  This is optional (but
    of course encouraged!)
* Set version to include a "+" delimitter.
* Restore libfaad-dev dependency. (LP: #546552)

[ Dave Walker (Daviey) ]
* New snapshot (r23789), based from 0.23-fixes.
* debian/control:
  - mythtv-frontend set to Conflict with mythflix, as it's dropped
    upstream. (LP: #544521)
  - Remove unnecessary and potentially problematic use of Pre-Depends.
  - Set the debug package to Priority extra.
  - Change *-perl Section's from libs to perl
  - add ${shlibs:Depends} for mythtv-common Depends field
  - Minor spelling fix.
  - Fixes the long description for one of the packages, ensuring the
    description doesn't exceed 80 characters.
  - Vcs-* set to -fixes, rather than -trunk.
* debian/rules:
  - Use debconf-updatepo to update translations when required
  - Ensure license files are not included in the binary packages, except 
    for debian/copyright.
  - Fixes the permissions of certain files in the packaging.
* debian/copyright:
  - updated to reflect that mythtv is GPL-2 only.
  - inserted better licence statement and Copyright reference.
* debian/mythtv-*.templates
  - Simplified strings; removed verbosity and improved readability.
* Prevent the maintainer scripts from failing in case any questions 
  can't be displayed.
* Added holding debian/mythtv-frontend.config, mainly to appease lintian.
* debian/mythtv-frontend.menu: Changed section to Applications/Graphics.
* debian/mythtv-backend.postinst: Load debconf libraries.
* debian/source.lintian-overrides: Removes the unecessary override of the 
  binNMU warnings.
* Fix perl binding installation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8284
8284
        text = tr("Upmixer On");
8285
8285
    else
8286
8286
        text = tr("Upmixer Off");
8287
 
    
 
8287
 
8288
8288
    if (ctx->nvp->GetOSD() && !browsemode)
8289
8289
        ctx->nvp->GetOSD()->SetSettingsText(text, 5);
8290
8290
}
8291
 
    
 
8291
 
8292
8292
// dir in 10ms jumps
8293
8293
void TV::ChangeAudioSync(PlayerContext *ctx, int dir, bool allowEdit)
8294
8294
{
8864
8864
        DoEditSchedule(editType);
8865
8865
    }
8866
8866
 
8867
 
    if (message.left(11) == "EPG_EXITING" || 
8868
 
        message.left(18) == "PROGFINDER_EXITING" || 
8869
 
        message.left(21) == "VIEWSCHEDULED_EXITING" || 
 
8867
    if (message.left(11) == "EPG_EXITING" ||
 
8868
        message.left(18) == "PROGFINDER_EXITING" ||
 
8869
        message.left(21) == "VIEWSCHEDULED_EXITING" ||
8870
8870
        message.left(19)   == "PLAYBACKBOX_EXITING" ||
8871
8871
        message.left(22) == "SCHEDULEEDITOR_EXITING")
8872
8872
    {
8908
8908
        {
8909
8909
            ProgramInfo *p = new ProgramInfo;
8910
8910
            QStringList nextProgStringList = me->ExtraDataList();
8911
 
            if (!nextProgStringList.isEmpty() && 
 
8911
            if (!nextProgStringList.isEmpty() &&
8912
8912
                p->FromStringList(nextProgStringList, 0))
8913
8913
            {
8914
8914
                PrepToSwitchToRecordedProgram(actx, p);
8916
8916
            else
8917
8917
               delete p;
8918
8918
        }
8919
 
        
 
8919
 
8920
8920
        ReturnPlayerLock(actx);
8921
8921
 
8922
8922
    }
10458
10458
    int size = QString::number(num_chapters).size();
10459
10459
    for (int i = 0; i < num_chapters; i++)
10460
10460
    {
10461
 
        int minutes = times[i] / 60;
10462
 
        int hours   = minutes / 60;
10463
 
        minutes = minutes - (hours * 60);
 
10461
        int hours   = times[i] / 60 / 60;
 
10462
        int minutes = (times[i] / 60) - (hours * 60);
 
10463
        int secs    = times[i] % 60;
10464
10464
        QString chapter1 = QString("%1").arg(i+1, size, 10, QChar(48));
10465
10465
        QString chapter2 = QString("%1").arg(i+1, 3   , 10, QChar(48));
10466
 
        QString desc = chapter1 + QString(" (%1:%2)")
10467
 
            .arg(hours, 2, 10, QChar(48)).arg(minutes, 2, 10, QChar(48));
 
10466
        QString desc = chapter1 + QString(" (%1:%2:%3)")
 
10467
            .arg(hours, 2, 10, QChar(48)).arg(minutes, 2, 10, QChar(48))
 
10468
            .arg(secs, 2, 10, QChar(48));
10468
10469
        new OSDGenericTree(item, desc, QString("JUMPTOCHAPTER%1").arg(chapter2),
10469
10470
                           (current_chapter == i) ? 1 : 0);
10470
10471
    }
11062
11063
            (wants_pbp ? kPBPLeft : kPIPOff);
11063
11064
    }
11064
11065
 
11065
 
    if ((wants_pbp || wants_pip || db_jump_prefer_osd) && 
 
11066
    if ((wants_pbp || wants_pip || db_jump_prefer_osd) &&
11066
11067
        (StateIsPlaying(s) || StateIsLiveTV(s)))
11067
11068
    {
11068
11069
        QMutexLocker locker(&timerIdLock);