From 9ef1bfb8bc50f90a8688c23183146605d1cc88c9 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 25 Aug 2016 17:17:41 +0300 Subject: gstreamer1.0: patch was applied upstream Change-Id: Ib45f8818ab568674e0aeda3b528bf7451e00506b Reviewed-by: Teemu Holappa --- .../gstreamer1.0-plugins-base/fix-gstvolume.patch | 23 ---------------- .../gstreamer/gstreamer1.0-plugins-base_%.bbappend | 32 ---------------------- 2 files changed, 55 deletions(-) delete mode 100644 recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch delete mode 100644 recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend diff --git a/recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch b/recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch deleted file mode 100644 index f67a840..0000000 --- a/recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c -index 0f5b362..94d03a3 100644 ---- a/gst/volume/gstvolume.c -+++ b/gst/volume/gstvolume.c -@@ -250,10 +250,14 @@ volume_update_volume (GstVolume * self, const GstAudioInfo * info, - self->current_mute = FALSE; - self->current_volume = volume; - -- self->current_vol_i8 = volume * VOLUME_UNITY_INT8; -- self->current_vol_i16 = volume * VOLUME_UNITY_INT16; -- self->current_vol_i24 = volume * VOLUME_UNITY_INT24; -- self->current_vol_i32 = volume * VOLUME_UNITY_INT32; -+ self->current_vol_i8 = -+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT8); -+ self->current_vol_i16 = -+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT16); -+ self->current_vol_i24 = -+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT24); -+ self->current_vol_i32 = -+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT32); - - passthrough = (self->current_vol_i16 == VOLUME_UNITY_INT16); - } diff --git a/recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend deleted file mode 100644 index 646faa5..0000000 --- a/recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend +++ /dev/null @@ -1,32 +0,0 @@ -############################################################################ -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://fix-gstvolume.patch" -- cgit v1.2.3-54-g00ecf