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

« back to all changes in this revision

Viewing changes to libs/libmythtv/filtermanager.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:
154
154
        const char *errmsg = dlerror();
155
155
        VERBOSE(VB_IMPORTANT, LOC_ERR + "Failed to load filter symbol: " +
156
156
                QString("'%1'").arg(path) + "\n\t\t\t" + errmsg);
157
 
        return false;        
 
157
        return false;
158
158
    }
159
159
 
160
160
    for (; filtInfo->symbol; filtInfo++)
196
196
    return finfo;
197
197
}
198
198
 
199
 
FilterChain *FilterManager::LoadFilters(QString Filters, 
 
199
FilterChain *FilterManager::LoadFilters(QString Filters,
200
200
                                        VideoFrameType &inpixfmt,
201
201
                                        VideoFrameType &outpixfmt, int &width,
202
202
                                        int &height, int &bufsize,
291
291
                    S2 = FC;
292
292
            }
293
293
        }
294
 
                
 
294
 
295
295
        if (S1)
296
296
            FC = S1;
297
297
        else if (S2)
378
378
        delete FiltChain;
379
379
        FiltChain = NULL;
380
380
    }
381
 
    
 
381
 
382
382
    for (i = 0; i < FiltInfoChain.size(); i++)
383
383
    {
384
384
        QByteArray tmp = OptsList[i].toLocal8Bit();
385
385
        NewFilt = LoadFilter(FiltInfoChain[i], FmtList[i]->in,
386
 
                             FmtList[i]->out, postfilt_width, 
 
386
                             FmtList[i]->out, postfilt_width,
387
387
                             postfilt_height, tmp.constData(),
388
388
                             max_threads);
389
389
 
488
488
    return FiltChain;
489
489
}
490
490
 
491
 
VideoFilter * FilterManager::LoadFilter(const FilterInfo *FiltInfo, 
 
491
VideoFilter * FilterManager::LoadFilter(const FilterInfo *FiltInfo,
492
492
                                        VideoFrameType inpixfmt,
493
 
                                        VideoFrameType outpixfmt, int &width, 
 
493
                                        VideoFrameType outpixfmt, int &width,
494
494
                                        int &height, const char *opts,
495
495
                                        int max_threads)
496
496
{