Ignore:
Timestamp:
Dec 27, 2011, 5:44:12 PM (14 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: latest svn update

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/preferences.cpp

    r112 r119  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
     2    Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    101101
    102102#ifndef Q_OS_WIN
    103         disable_video_filters_with_vdpau = true;
     103        vdpau.ffh264vdpau = true;
     104        vdpau.ffmpeg12vdpau = true;
     105        vdpau.ffwmv3vdpau = true;
     106        vdpau.ffvc1vdpau = true;
     107        vdpau.ffodivxvdpau = false;
     108        vdpau.disable_video_filters = true;
    104109#endif
    105110
     
    194199        ass_line_spacing = 0;
    195200
    196         use_closed_caption_subs = false;
    197201        use_forced_subs_only = false;
    198202
     
    275279        actions_to_run = "";
    276280
     281        show_tag_in_window_title = true;
     282
    277283
    278284    /* *********
     
    292298#endif
    293299
    294         show_motion_vectors = false;
    295300
    296301#if DVDNAV_SUPPORT
     
    318323#endif
    319324#if SEEKBAR_RESOLUTION
    320         relative_seeking = true;
     325        relative_seeking = false;
    321326#endif
    322327
     
    504509
    505510#ifndef Q_OS_WIN
    506         set->setValue("disable_video_filters_with_vdpau", disable_video_filters_with_vdpau);
     511        set->setValue("vdpau_ffh264vdpau", vdpau.ffh264vdpau);
     512        set->setValue("vdpau_ffmpeg12vdpau", vdpau.ffmpeg12vdpau);
     513        set->setValue("vdpau_ffwmv3vdpau", vdpau.ffwmv3vdpau);
     514        set->setValue("vdpau_ffvc1vdpau", vdpau.ffvc1vdpau);
     515        set->setValue("vdpau_ffodivxvdpau", vdpau.ffodivxvdpau);
     516        set->setValue("vdpau_disable_video_filters", vdpau.disable_video_filters);
    507517#endif
    508518
     
    602612        set->setValue("use_ass_subtitles", use_ass_subtitles);
    603613        set->setValue("ass_line_spacing", ass_line_spacing);
    604         set->setValue("use_closed_caption_subs", use_closed_caption_subs);
    605614        set->setValue("use_forced_subs_only", use_forced_subs_only);
    606615
     
    677686        set->setValue("actions_to_run", actions_to_run);
    678687
     688        set->setValue("show_tag_in_window_title", show_tag_in_window_title);
     689
    679690        set->endGroup(); // advanced
    680691
     
    697708        set->setValue("style", style);
    698709#endif
    699 
    700         set->setValue("show_motion_vectors", show_motion_vectors);
    701710
    702711        set->setValue("mouse_left_click_function", mouse_left_click_function);
     
    917926
    918927#ifndef Q_OS_WIN
    919         disable_video_filters_with_vdpau = set->value("disable_video_filters_with_vdpau", disable_video_filters_with_vdpau).toBool();
     928        vdpau.ffh264vdpau = set->value("vdpau_ffh264vdpau", vdpau.ffh264vdpau).toBool();
     929        vdpau.ffmpeg12vdpau = set->value("vdpau_ffmpeg12vdpau", vdpau.ffmpeg12vdpau).toBool();
     930        vdpau.ffwmv3vdpau = set->value("vdpau_ffwmv3vdpau", vdpau.ffwmv3vdpau).toBool();
     931        vdpau.ffvc1vdpau = set->value("vdpau_ffvc1vdpau", vdpau.ffvc1vdpau).toBool();
     932        vdpau.ffodivxvdpau = set->value("vdpau_ffodivxvdpau", vdpau.ffodivxvdpau).toBool();
     933        vdpau.disable_video_filters = set->value("vdpau_disable_video_filters", vdpau.disable_video_filters).toBool();
    920934#endif
    921935
     
    10161030        ass_line_spacing = set->value("ass_line_spacing", ass_line_spacing).toInt();
    10171031
    1018         use_closed_caption_subs = set->value("use_closed_caption_subs", use_closed_caption_subs).toBool();
    10191032        use_forced_subs_only = set->value("use_forced_subs_only", use_forced_subs_only).toBool();
    10201033
     
    10941107        actions_to_run = set->value("actions_to_run", actions_to_run).toString();
    10951108
     1109        show_tag_in_window_title = set->value("show_tag_in_window_title", show_tag_in_window_title).toBool();
     1110
    10961111        set->endGroup(); // advanced
    10971112
     
    11141129        style = set->value("style", style).toString();
    11151130#endif
    1116 
    1117         show_motion_vectors = set->value("show_motion_vectors", show_motion_vectors).toBool();
    11181131
    11191132        mouse_left_click_function = set->value("mouse_left_click_function", mouse_left_click_function).toString();
Note: See TracChangeset for help on using the changeset viewer.