ekiga r6236 - in trunk: . src/endpoints
- From: mschneid svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6236 - in trunk: . src/endpoints
- Date: Fri, 2 May 2008 19:25:26 +0100 (BST)
Author: mschneid
Date: Fri May 2 18:25:26 2008
New Revision: 6236
URL: http://svn.gnome.org/viewvc/ekiga?rev=6236&view=rev
Log:
Add ToNormalisedOptions to UpdateMediaOtions.
Modified:
trunk/ChangeLog
trunk/src/endpoints/manager.cpp
Modified: trunk/src/endpoints/manager.cpp
==============================================================================
--- trunk/src/endpoints/manager.cpp (original)
+++ trunk/src/endpoints/manager.cpp Fri May 2 18:25:26 2008
@@ -403,10 +403,11 @@
if (stream != NULL) {
OpalMediaFormat mediaFormat = stream->GetMediaFormat ();
- mediaFormat.SetOptionInteger (OpalVideoFormat::TemporalSpatialTradeOffOption(),
- options.temporal_spatial_tradeoff);
- mediaFormat.SetOptionInteger (OpalVideoFormat::TargetBitRateOption (),
+ mediaFormat.SetOptionInteger (OpalVideoFormat::TemporalSpatialTradeOffOption(),
+ options.temporal_spatial_tradeoff);
+ mediaFormat.SetOptionInteger (OpalVideoFormat::TargetBitRateOption (),
options.maximum_transmitted_bitrate * 1000);
+ mediaFormat.ToNormalisedOptions();
stream->UpdateMediaFormat (mediaFormat);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]