[Sumover-dev] [svn commit] r4565 - vic/branches/mpeg4/codec

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Jan 22 15:46:11 GMT 2010


Author: piers
Date: Fri Jan 22 15:46:10 2010
New Revision: 4565

Modified:
   vic/branches/mpeg4/codec/encoder-h261.cpp

Log:
Removed tx->flush() - as it by passes bit-rate controls. It shouldn't be necessary to flush on every encode().


Modified: vic/branches/mpeg4/codec/encoder-h261.cpp
==============================================================================
--- vic/branches/mpeg4/codec/encoder-h261.cpp	(original)
+++ vic/branches/mpeg4/codec/encoder-h261.cpp	Fri Jan 22 15:46:10 2010
@@ -776,8 +776,6 @@
 int
 H261Encoder::encode(const VideoFrame* vf, const u_int8_t *crvec)
 {
-	tx_->flush();
-
 	pktbuf* pb = pool_->alloc(vf->ts_, RTP_PT_H261);
 	bs_ = &pb->data[HDRSIZE];
 	bc_ = bs_;



More information about the Sumover-dev mailing list