[ekiga] OPAL: Adapted to the new bitrate API.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] OPAL: Adapted to the new bitrate API.
- Date: Mon, 25 Jun 2012 18:09:25 +0000 (UTC)
commit 026f54b2b64fdf8fb20fd5a46866b07c65b8b5b3
Author: Damien Sandras <dsandras beip be>
Date: Mon Jun 25 20:08:35 2012 +0200
OPAL: Adapted to the new bitrate API.
lib/engine/components/opal/opal-call-manager.cpp | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-call-manager.cpp b/lib/engine/components/opal/opal-call-manager.cpp
index 908e865..d6ba26f 100644
--- a/lib/engine/components/opal/opal-call-manager.cpp
+++ b/lib/engine/components/opal/opal-call-manager.cpp
@@ -595,14 +595,8 @@ void CallManager::set_video_options (const CallManager::VideoOptions & options)
media_format.GetName() != "RGB32" &&
media_format.GetName() != "RGB24") {
- media_format.SetOptionBoolean (OpalVideoFormat::RateControlEnableOption(),
- true);
- /* the following two options have been removed, what can they be replaced with?
- media_format.SetOptionInteger (OpalVideoFormat::RateControlWindowSizeOption(),
- 500);
- media_format.SetOptionInteger (OpalVideoFormat::RateControlMaxFramesSkipOption(),
- 1);
- */
+ media_format.SetOptionInteger (OpalVideoFormat::RateControlPeriodOption(),
+ 300);
}
OpalMediaFormat::SetRegisteredMediaFormat(media_format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]