1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix a crash when playing certain types of files. See

http://mail.gnome.org/archives/rhythmbox-devel/2005-December/msg00022.html
for more details.

PR:		91413
Obtained from:	Rhythmbox CVS
This commit is contained in:
Joe Marcus Clarke 2006-01-11 06:50:45 +00:00
parent 3550c144d5
commit 7c7c67df00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153235
4 changed files with 34 additions and 2 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= rhythmbox
PORTVERSION= 0.9.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9

View File

@ -0,0 +1,16 @@
===================================================================
RCS file: /cvs/gnome/rhythmbox/player/rb-player-gst.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- player/rb-player-gst.c 2005/11/30 08:47:21 1.51
+++ player/rb-player-gst.c 2005/12/03 10:56:42 1.52
@@ -782,7 +782,7 @@
if (mp->priv->playbin != NULL) {
GParamSpec *volume_pspec;
- GValue val;
+ GValue val = {0,};
volume_pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (mp->priv->playbin),
"volume");

View File

@ -8,7 +8,7 @@
PORTNAME= rhythmbox
PORTVERSION= 0.9.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9

View File

@ -0,0 +1,16 @@
===================================================================
RCS file: /cvs/gnome/rhythmbox/player/rb-player-gst.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- player/rb-player-gst.c 2005/11/30 08:47:21 1.51
+++ player/rb-player-gst.c 2005/12/03 10:56:42 1.52
@@ -782,7 +782,7 @@
if (mp->priv->playbin != NULL) {
GParamSpec *volume_pspec;
- GValue val;
+ GValue val = {0,};
volume_pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (mp->priv->playbin),
"volume");