~ubuntu-branches/ubuntu/vivid/smplayer/vivid-proposed

« back to all changes in this revision

Viewing changes to src/extensions.cpp

  • Committer: Package Import Robot
  • Author(s): Mateusz Łukasik
  • Date: 2014-04-21 11:53:59 UTC
  • mfrom: (20.2.3 sid)
  • Revision ID: package-import@ubuntu.com-20140421115359-5huta4wsv7xa3843
Tags: 14.3.0-1
* Add myself to uploaders.
* New upstream release. (Closes: #740769, #742685)
* debian/control:
  - bump standards version to 3.9.5. (no changes needed)
  - rename smplayer-translations to smplayer-l10n. (Closes: #698365)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net>
 
2
    Copyright (C) 2006-2014 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
31
31
        return s;
32
32
}
33
33
 
 
34
QStringList ExtensionList::forDirFilter() {
 
35
        QStringList l;
 
36
        for (int n=0; n < count(); n++) {
 
37
                QString s = "*." + at(n);
 
38
                l << s;
 
39
        }
 
40
        return l;
 
41
}
 
42
 
34
43
QString ExtensionList::forRegExp() {
35
44
        QString s;
36
45
        for (int n=0; n < count(); n++) {
53
62
           << "rm" << "swf"
54
63
           << "ts" << "rmvb" << "dvr-ms" << "m2t" << "m2ts" << "mts" << "rec" << "wtv"
55
64
           << "f4v" << "hdmov" << "webm" << "vp8"
56
 
           << "bik" << "smk" ;
 
65
           << "bik" << "smk" << "m4b";
57
66
 
58
67
        _audio << "mp3" << "ogg" << "oga" << "wav" << "wma" <<  "aac" << "ac3" << "dts" << "ra" << "ape" << "flac" << "thd" << "mka" << "m4a";
59
68