Projects
Multimedia
bino
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
bino.spec
Changed
@@ -14,6 +14,7 @@ # http://download.savannah.gnu.org/releases/bino/bino-%{version}.tar.xz Source: bino-%{version}.tar.bz2 Source1: bino.desktop +Patch1: bino-backport-qvariant.patch URL: http://www.nongnu.org/bino/ Group: Productivity/Multimedia/Video/Players License: GNU General Public License version 2 or later (GPL v2 or later) @@ -36,9 +37,11 @@ * support for multi-display video, e.g. for powerwalls, Virtual Reality installations and other multi-projector setups. - %prep %setup -q +%if 0%{?suse_version} < 1130 +%patch1 +%endif %build %configure \
View file
bino-backport-qvariant.patch
Added
@@ -0,0 +1,52 @@ +--- src/player_qt.cpp.orig 2011-02-23 20:09:13.000000000 +0100 ++++ src/player_qt.cpp 2011-02-23 20:17:50.000000000 +0100 +@@ -1257,31 +1257,31 @@ + _settings->beginGroup("Session"); + if (!(_init_data.params.contrast >= -1.0f && _init_data.params.contrast <= +1.0f)) + { +- _init_data.params.contrast = _settings->value("contrast", QString("0")).toFloat(); ++ _init_data.params.contrast = _settings->value("contrast", QString("0")).toString().toFloat(); + } + if (!(_init_data.params.brightness >= -1.0f && _init_data.params.brightness <= +1.0f)) + { +- _init_data.params.brightness = _settings->value("brightness", QString("0")).toFloat(); ++ _init_data.params.brightness = _settings->value("brightness", QString("0")).toString().toFloat(); + } + if (!(_init_data.params.hue >= -1.0f && _init_data.params.hue <= +1.0f)) + { +- _init_data.params.hue = _settings->value("hue", QString("0")).toFloat(); ++ _init_data.params.hue = _settings->value("hue", QString("0")).toString().toFloat(); + } + if (!(_init_data.params.saturation >= -1.0f && _init_data.params.saturation <= +1.0f)) + { +- _init_data.params.saturation = _settings->value("saturation", QString("0")).toFloat(); ++ _init_data.params.saturation = _settings->value("saturation", QString("0")).toString().toFloat(); + } + if (!(_init_data.params.crosstalk_r >= 0.0f && _init_data.params.crosstalk_r <= 1.0f)) + { +- _init_data.params.crosstalk_r = _settings->value("crosstalk_r", QString("0")).toFloat(); ++ _init_data.params.crosstalk_r = _settings->value("crosstalk_r", QString("0")).toString().toFloat(); + } + if (!(_init_data.params.crosstalk_g >= 0.0f && _init_data.params.crosstalk_g <= 1.0f)) + { +- _init_data.params.crosstalk_g = _settings->value("crosstalk_g", QString("0")).toFloat(); ++ _init_data.params.crosstalk_g = _settings->value("crosstalk_g", QString("0")).toString().toFloat(); + } + if (!(_init_data.params.crosstalk_b >= 0.0f && _init_data.params.crosstalk_b <= 1.0f)) + { +- _init_data.params.crosstalk_b = _settings->value("crosstalk_b", QString("0")).toFloat(); ++ _init_data.params.crosstalk_b = _settings->value("crosstalk_b", QString("0")).toString().toFloat(); + } + _settings->endGroup(); + _init_data.params.set_defaults(); +@@ -1644,8 +1644,8 @@ + _init_data.video_stream = std::max(0, std::min(_init_data.video_stream, _player->get_media_input().video_streams() - 1)); + _init_data.audio_stream = QVariant(_settings->value("audio-stream", QVariant(_init_data.audio_stream)).toString()).toInt(); + _init_data.audio_stream = std::max(0, std::min(_init_data.audio_stream, _player->get_media_input().audio_streams() - 1)); +- _init_data.params.parallax = QVariant(_settings->value("parallax", QVariant(_init_data.params.parallax)).toString()).toFloat(); +- _init_data.params.ghostbust = QVariant(_settings->value("ghostbust", QVariant(_init_data.params.ghostbust)).toString()).toFloat(); ++ _init_data.params.parallax = QVariant(_settings->value("parallax", QVariant(_init_data.params.parallax)).toString()).toString().toFloat(); ++ _init_data.params.ghostbust = QVariant(_settings->value("ghostbust", QVariant(_init_data.params.ghostbust)).toString()).toString().toFloat(); + // Get stereo mode for this video + _settings->endGroup(); + QString mode_fallback = QString(parameters::stereo_mode_to_string(
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.