Changeset 186 for smplayer/vendor/current/src/mpvprocess.h
- Timestamp:
- Jan 24, 2017, 12:24:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/mpvprocess.h
r179 r186 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 6Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 23 23 #include "playerprocess.h" 24 24 #include "config.h" 25 26 #define OSD_WITH_TIMER 25 27 26 28 class QStringList; … … 124 126 void messageFilterNotSupported(const QString & filter_name); 125 127 128 #ifdef OSD_WITH_TIMER 129 void toggleInfoOnOSD(); 130 #endif 131 126 132 protected slots: 127 133 void parseLine(QByteArray ba); … … 129 135 void gotError(QProcess::ProcessError); 130 136 void requestChapterInfo(); 131 void requestBitrateInfo(); 137 /* void requestBitrateInfo(); */ 138 139 #ifdef OSD_WITH_TIMER 140 void displayInfoOnOSD(); 141 #endif 132 142 133 143 protected: … … 138 148 void updateSubtitleTrack(int ID, const QString & name, const QString & lang); 139 149 #endif 150 151 private: 152 #if 0 153 // For some reason lupdate doesn't get the translations from mpvoptions.cpp 154 void translations() { 155 QString s = tr("the '%1' filter is not supported by mpv"); 156 s = tr("File:"); 157 s = tr("Video:"); 158 s = tr("Resolution:"); 159 s = tr("Frames per second:"); 160 s = tr("Estimated:"); 161 s = tr("Aspect Ratio:"); 162 s = tr("Bitrate:"); 163 s = tr("Dropped frames:"); 164 s = tr("Audio:"); 165 s = tr("Bitrate:"); 166 s = tr("Sample Rate:"); 167 s = tr("Channels:"); 168 s = tr("Audio/video synchronization:"); 169 s = tr("Cache fill:"); 170 s = tr("Used cache:"); 171 } 172 #endif 140 173 141 174 private: … … 181 214 bool capturing; 182 215 #endif 216 217 #ifdef OSD_WITH_TIMER 218 QTimer * osd_timer; 219 #endif 183 220 }; 184 221
Note:
See TracChangeset
for help on using the changeset viewer.