Ignore:
Timestamp:
Jan 24, 2017, 12:24:46 PM (8 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update vendor to 17.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/src/mpvprocess.h

    r179 r186  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    2323#include "playerprocess.h"
    2424#include "config.h"
     25
     26#define OSD_WITH_TIMER
    2527
    2628class QStringList;
     
    124126        void messageFilterNotSupported(const QString & filter_name);
    125127
     128#ifdef OSD_WITH_TIMER
     129        void toggleInfoOnOSD();
     130#endif
     131
    126132protected slots:
    127133        void parseLine(QByteArray ba);
     
    129135        void gotError(QProcess::ProcessError);
    130136        void requestChapterInfo();
    131         void requestBitrateInfo();
     137        /* void requestBitrateInfo(); */
     138
     139#ifdef OSD_WITH_TIMER
     140        void displayInfoOnOSD();
     141#endif
    132142
    133143protected:
     
    138148        void updateSubtitleTrack(int ID, const QString & name, const QString & lang);
    139149#endif
     150
     151private:
     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
    140173
    141174private:
     
    181214        bool capturing;
    182215#endif
     216
     217#ifdef OSD_WITH_TIMER
     218        QTimer * osd_timer;
     219#endif
    183220};
    184221
Note: See TracChangeset for help on using the changeset viewer.