Changeset 175 for smplayer/vendor/current/src/filepropertiesdialog.h
- Timestamp:
- May 3, 2016, 2:14:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/filepropertiesdialog.h
r163 r175 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 4Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 17 17 */ 18 18 19 #ifndef _FILEPROPERTIESDIALOG_H_20 #define _FILEPROPERTIESDIALOG_H_19 #ifndef FILEPROPERTIESDIALOG_H 20 #define FILEPROPERTIESDIALOG_H 21 21 22 22 #include "ui_filepropertiesdialog.h" 23 23 #include "inforeader.h" 24 24 #include "mediadata.h" 25 #include "config.h" 25 26 26 27 class QPushButton; … … 36 37 void setMediaData(MediaData md); 37 38 39 #if ALLOW_DEMUXER_CODEC_CHANGE 40 // Call it as soon as possible 41 void setCodecs(InfoList vc, InfoList ac, InfoList demuxer); 42 38 43 void setDemuxer(QString demuxer, QString original_demuxer=""); 39 44 QString demuxer(); … … 44 49 void setAudioCodec(QString ac, QString original_ac=""); 45 50 QString audioCodec(); 51 #endif 46 52 47 53 void setMplayerAdditionalArguments(QString args); … … 61 67 void applied(); 62 68 69 #if ALLOW_DEMUXER_CODEC_CHANGE 63 70 protected slots: 64 71 virtual void on_resetDemuxerButton_clicked(); 65 72 virtual void on_resetACButton_clicked(); 66 73 virtual void on_resetVCButton_clicked(); 74 #endif 67 75 68 76 protected: 69 // Call it as soon as possible 70 void setCodecs(InfoList vc, InfoList ac, InfoList demuxer); 77 #if ALLOW_DEMUXER_CODEC_CHANGE 71 78 bool hasCodecsList() { return codecs_set; }; 72 73 79 int find(QString s, InfoList &list); 80 #endif 74 81 void showInfo(); 75 82 … … 79 86 80 87 private: 88 #if ALLOW_DEMUXER_CODEC_CHANGE 81 89 bool codecs_set; 82 90 InfoList vclist, aclist, demuxerlist; 83 91 QString orig_demuxer, orig_ac, orig_vc; 92 #endif 84 93 MediaData media_data; 85 94
Note:
See TracChangeset
for help on using the changeset viewer.