[Openh323-devel] Video size in OPAL | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
hi,
I'd like to set a non standard video size in OPAL. How should I do this ?
I've tried to do it this way, but it doesn't work:
OpalMediaFormatList MySoundEndPoint::GetMediaFormats() const
{
OpalMediaFormatList formats;
OpalMediaFormat curFormat;
formats+=OpalPCM16;
curFormat = OpalYUV420P;
curFormat.SetOptionInteger(OpalVideoFormat::FrameWidthOption, 640);
curFormat.SetOptionInteger(OpalVideoFormat::FrameHeightOption, 480);
formats += curFormat;
curFormat = OpalRGB24;
curFormat.SetOptionInteger(OpalVideoFormat::FrameWidthOption, 640);
curFormat.SetOptionInteger(OpalVideoFormat::FrameHeightOption, 480);
formats += curFormat;
return formats;
}
Any ideas ??
Thanks in advance,
Damien
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Openh323-devel mailing list
Openh323-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openh323-devel
![]() |
![]() |