diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-04-25 16:17:41 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-04-25 16:17:41 +0200 |
commit | 45ee5ac6dc2159352596ce8e8ec744e0c864d492 (patch) | |
tree | 55ca90fd4a0d5c0eae188c5919510b6b0d2e3c5d /src/filepropertiesdialog.h | |
parent | a35c74c509f107094fd81cee8df109b652063969 (diff) |
Imported Upstream version 14.9.0.6690~ds0
Diffstat (limited to 'src/filepropertiesdialog.h')
-rw-r--r-- | src/filepropertiesdialog.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/filepropertiesdialog.h b/src/filepropertiesdialog.h index 4172dc5..c667b73 100644 --- a/src/filepropertiesdialog.h +++ b/src/filepropertiesdialog.h @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> + Copyright (C) 2006-2015 Ricardo Villalba <rvm@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #include "ui_filepropertiesdialog.h" #include "inforeader.h" #include "mediadata.h" +#include "config.h" class QPushButton; @@ -35,6 +36,10 @@ public: void setMediaData(MediaData md); +#if ALLOW_DEMUXER_CODEC_CHANGE + // Call it as soon as possible + void setCodecs(InfoList vc, InfoList ac, InfoList demuxer); + void setDemuxer(QString demuxer, QString original_demuxer=""); QString demuxer(); @@ -43,6 +48,7 @@ public: void setAudioCodec(QString ac, QString original_ac=""); QString audioCodec(); +#endif void setMplayerAdditionalArguments(QString args); QString mplayerAdditionalArguments(); @@ -60,17 +66,18 @@ public slots: signals: void applied(); +#if ALLOW_DEMUXER_CODEC_CHANGE protected slots: virtual void on_resetDemuxerButton_clicked(); virtual void on_resetACButton_clicked(); virtual void on_resetVCButton_clicked(); +#endif protected: - // Call it as soon as possible - void setCodecs(InfoList vc, InfoList ac, InfoList demuxer); +#if ALLOW_DEMUXER_CODEC_CHANGE bool hasCodecsList() { return codecs_set; }; - int find(QString s, InfoList &list); +#endif void showInfo(); protected: @@ -78,9 +85,11 @@ protected: virtual void changeEvent ( QEvent * event ) ; private: +#if ALLOW_DEMUXER_CODEC_CHANGE bool codecs_set; InfoList vclist, aclist, demuxerlist; QString orig_demuxer, orig_ac, orig_vc; +#endif MediaData media_data; QPushButton * okButton; |