[Opalvoip-devel] H264 parameter setup
Brought to you by:
csoutheren,
rjongbloed
From: Alexander S. <ale...@gm...> - 2011-05-24 12:12:45
|
I've been looking for a problem with bitrate setup inside codec and found next small problem inside h264pipe_unix.cxx: void H264EncCtx::call(unsigned msg, unsigned value) { switch (msg) { case SET_FRAME_WIDTH: width = value; size = (unsigned) (width * height * 1.5) + sizeof(frameHeader) + 40; break; case SET_FRAME_HEIGHT: height = value; size = (unsigned) (width * height * 1.5) + sizeof(frameHeader) + 40; break; default: return; } :. With this "default" statement only resolution setup messages makes it's way down to encoder. I suppose last switch line must be eradicated immediately. J |