[ekiga] Opal::CallManager: Fixed maximum frame height.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Opal::CallManager: Fixed maximum frame height.
- Date: Tue, 30 Dec 2014 17:06:54 +0000 (UTC)
commit 60be3855199fd8965099a92eebd9bddd582e1f25
Author: Damien Sandras <dsandras seconix com>
Date: Sun Dec 28 14:35:27 2014 +0100
Opal::CallManager: Fixed maximum frame height.
Using engine constants allows preventing errors.
lib/engine/components/opal/opal-call-manager.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-call-manager.cpp
b/lib/engine/components/opal/opal-call-manager.cpp
index f3d690e..5974a24 100644
--- a/lib/engine/components/opal/opal-call-manager.cpp
+++ b/lib/engine/components/opal/opal-call-manager.cpp
@@ -705,13 +705,13 @@ void CallManager::set_video_options (const CallManager::VideoOptions & options)
media_format.SetOptionInteger (OpalVideoFormat::TargetBitRateOption (),
maximum_transmitted_bitrate * 1000);
media_format.SetOptionInteger (OpalVideoFormat::MinRxFrameWidthOption(),
- 160);
+ GM_QSIF_WIDTH);
media_format.SetOptionInteger (OpalVideoFormat::MinRxFrameHeightOption(),
- 120);
+ GM_QSIF_HEIGHT);
media_format.SetOptionInteger (OpalVideoFormat::MaxRxFrameWidthOption(),
- 1920);
+ GM_1080P_WIDTH);
media_format.SetOptionInteger (OpalVideoFormat::MaxRxFrameHeightOption(),
- 1088);
+ GM_1080P_HEIGHT);
media_format.AddOption(new OpalMediaOptionUnsigned (OpalVideoFormat::TemporalSpatialTradeOffOption (),
true, OpalMediaOption::NoMerge,
temporal_spatial_tradeoff));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]