Ignore:
Timestamp:
May 3, 2016, 2:14:41 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update vendor to version 16.4

File:
1 edited

Legend:

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

    r163 r175  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    1717*/
    1818
    19 #ifndef _MEDIASETTINGS_H_
    20 #define _MEDIASETTINGS_H_
     19#ifndef MEDIASETTINGS_H
     20#define MEDIASETTINGS_H
    2121
    2222
     
    5959        double current_sec;
    6060        int current_sub_id;
     61#ifdef MPV_SUPPORT
     62        int current_secondary_sub_id;
     63#endif
    6164
    6265#if PROGRAM_SWITCH
     
    6871
    6972        int current_title_id;
    70         int current_chapter_id;
    7173        int current_angle_id;
    7274
     
    114116        int current_unsharp;
    115117
     118        QString stereo3d_in;
     119        QString stereo3d_out;
     120
     121#ifdef MPLAYER_SUPPORT
    116122        bool karaoke_filter;
     123#endif
    117124        bool extrastereo_filter;
    118125        bool volnorm_filter;
     
    122129
    123130        double zoom_factor; // mplayerwindow zoom
    124 
    125 #if USE_MPLAYER_PANSCAN
    126         double panscan_factor;
    127 #endif
    128131
    129132        int rotate;
     
    135138        int B_marker;
    136139
     140#ifdef BOOKMARKS
     141        QMap<int, QString> bookmarks;
     142#endif
     143
    137144        // This a property of the video and it should be
    138145    // in mediadata, but we have to save it to preserve
     
    143150        bool is264andHD;
    144151
     152        QString current_demuxer;
     153
     154#if ALLOW_DEMUXER_CODEC_CHANGE
    145155        // Advanced settings
    146156        QString forced_demuxer;
     
    152162        QString original_video_codec;
    153163        QString original_audio_codec;
     164#endif
    154165
    155166        // Options to mplayer (for this file only)
     
    161172        // They can vary, because of filters, so better here
    162173
    163         //Resolution used by mplayer
    164     //Can be bigger that video resolution
    165     //because of the aspect ratio or expand filter
    166     int win_width;
    167     int win_height;
    168     double win_aspect();
     174        // Resolution used by mplayer
     175        // Can be bigger that video resolution
     176        // because of the aspect ratio or expand filter
     177        int win_width;
     178        int win_height;
     179        double win_aspect();
    169180
    170181        //! Returns the aspect as a double. Returns 0 if aspect == AspectNone.
     
    175186
    176187#ifndef NO_USE_INI_FILES
    177         void save(QSettings * set);
    178         void load(QSettings * set);
     188        void save(QSettings * set, int player_id);
     189        void load(QSettings * set, int player_id);
    179190#endif
    180191};
Note: See TracChangeset for help on using the changeset viewer.