add theora fix

This commit is contained in:
Tom Callaway 2014-11-14 14:40:28 -05:00
parent e1f44ea44d
commit 79614fa03e
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up linphone-3.6.1/mediastreamer2/src/videofilters/theora.c.fix linphone-3.6.1/mediastreamer2/src/videofilters/theora.c
--- linphone-3.6.1/mediastreamer2/src/videofilters/theora.c.fix 2014-11-14 14:34:59.416313134 -0500
+++ linphone-3.6.1/mediastreamer2/src/videofilters/theora.c 2014-11-14 14:35:44.657985230 -0500
@@ -332,7 +332,7 @@ static void enc_process(MSFilter *f){
if (need_send_conf(s,elapsed)){
if (s->packed_conf) {
om=dupmsg(s->packed_conf);
- ms_message("sending theora packed conf (%i bytes)",msgdsize(om));
+ ms_message("sending theora packed conf (%i bytes)",(int)msgdsize(om));
packetize_and_send(f,s,om,timestamp,THEORA_PACKED_CONF);
}else {
ms_error("No packed conf to send.");

View File

@ -6,9 +6,10 @@ Summary: Phone anywhere in the whole world by using the Internet
License: GPLv2+
URL: http://www.linphone.org/
Source0: http://download.savannah.gnu.org/releases/linphone/3.5.x/sources/%{name}-%{version}.tar.gz
Source0: http://download.savannah.gnu.org/releases/linphone/3.7.x/sources/%{name}-%{version}.tar.gz
Patch0: linphone-3.6.1-rootca.patch
Patch1: linphone-3.6.1-arm.patch
Patch2: linphone-3.6.1-theora-fix.patch
# for video support
BuildRequires: glew-devel
@ -101,6 +102,7 @@ Libraries and headers required to develop software with mediastreamer2.
%ifarch %{arm}
%patch1 -p1 -b .arm
%endif
%patch2 -p1 -b .theora-fix
autoreconf -i -f