rpms/linphone/devel linphone-2.1.0-imagedir.patch, NONE, 1.1 linphone-2.1.0-novideo.patch, NONE, 1.1
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Tue Feb 5 19:06:56 UTC 2008
- Previous message (by thread): rpms/hdf5/devel hdf5-1.6.6-s390.patch,NONE,1.1 hdf5.spec,1.19,1.20
- Next message (by thread): rpms/kernel/devel linux-2.6-acpi-eeepc-hotkey.patch, NONE, 1.1 linux-2.6-netdev-atl2.patch, NONE, 1.1 config-generic, 1.64, 1.65 config-x86-generic, 1.25, 1.26 config-x86_64-generic, 1.22, 1.23 kernel.spec, 1.403, 1.404
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jcollie
Update of /cvs/pkgs/rpms/linphone/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1763
Added Files:
linphone-2.1.0-imagedir.patch linphone-2.1.0-novideo.patch
Log Message:
Add patches to CVS.
linphone-2.1.0-imagedir.patch:
--- NEW FILE linphone-2.1.0-imagedir.patch ---
>From da74486ae265d7736032e4e51602d54449de11b0 Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff at ocjtech.us>
Date: Tue, 17 Apr 2007 15:27:06 -0500
Subject: [PATCH] Move nowebcam image to subdir.
---
mediastreamer2/src/Makefile.am | 2 +-
mediastreamer2/src/nowebcam.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mediastreamer2/src/Makefile.am b/mediastreamer2/src/Makefile.am
index 9c9050c..8717329 100644
--- a/mediastreamer2/src/Makefile.am
+++ b/mediastreamer2/src/Makefile.am
@@ -121,7 +121,7 @@ if BUILD_VIDEO
AM_CFLAGS+=$(VIDEO_CFLAGS)
endif
-imgdir=$(datadir)/images/
+imgdir=$(datadir)/images/linphone/
img_DATA=nowebcamCIF.jpg
diff --git a/mediastreamer2/src/nowebcam.c b/mediastreamer2/src/nowebcam.c
index 1c694f9..f8eaaf9 100644
--- a/mediastreamer2/src/nowebcam.c
+++ b/mediastreamer2/src/nowebcam.c
@@ -85,8 +85,8 @@ mblk_t *ms_load_jpeg_as_yuv(const char *jpgpath, MSVideoSize *reqsize){
mblk_t *ms_load_nowebcam(MSVideoSize *reqsize, int idx){
char tmp[256];
if (idx<0)
- snprintf(tmp, sizeof(tmp), "%s/images/%s.jpg", PACKAGE_DATA_DIR, NOWEBCAM_JPG);
+ snprintf(tmp, sizeof(tmp), "%s/images/linphone/%s.jpg", PACKAGE_DATA_DIR, NOWEBCAM_JPG);
else
- snprintf(tmp, sizeof(tmp), "%s/images/%s%i.jpg", PACKAGE_DATA_DIR, NOWEBCAM_JPG, idx);
+ snprintf(tmp, sizeof(tmp), "%s/images/linphone/%s%i.jpg", PACKAGE_DATA_DIR, NOWEBCAM_JPG, idx);
return ms_load_jpeg_as_yuv(tmp,reqsize);
}
--
1.5.3.8
linphone-2.1.0-novideo.patch:
--- NEW FILE linphone-2.1.0-novideo.patch ---
>From 3ca7c2a2d5ca6d60d861e7c0e3fbb2b40ddf5a70 Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff at ocjtech.us>
Date: Fri, 1 Feb 2008 10:40:52 -0600
Subject: [PATCH] Fix compilation with video disabled.
---
coreapi/linphonecore.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c
index c77ebae..1e56f33 100644
--- a/coreapi/linphonecore.c
+++ b/coreapi/linphonecore.c
@@ -980,14 +980,18 @@ void linphone_core_iterate(LinphoneCore *lc)
vs=lc->videostream->session;
display_bandwidth(as,vs);
}
+#ifdef VIDEO_ENABLED
if (lc->videostream!=NULL)
video_stream_iterate(lc->videostream);
+#endif
}
}
if (linphone_core_video_preview_enabled(lc)){
if (lc->previewstream==NULL)
toggle_video_preview(lc,TRUE);
+#ifdef VIDEO_ENABLED
else video_stream_iterate(lc->previewstream);
+#endif
}else{
if (lc->previewstream!=NULL)
toggle_video_preview(lc,FALSE);
--
1.5.3.8
- Previous message (by thread): rpms/hdf5/devel hdf5-1.6.6-s390.patch,NONE,1.1 hdf5.spec,1.19,1.20
- Next message (by thread): rpms/kernel/devel linux-2.6-acpi-eeepc-hotkey.patch, NONE, 1.1 linux-2.6-netdev-atl2.patch, NONE, 1.1 config-generic, 1.64, 1.65 config-x86-generic, 1.25, 1.26 config-x86_64-generic, 1.22, 1.23 kernel.spec, 1.403, 1.404
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list