[Sumover-dev] [svn commit] r4192 - vic/branches/mpeg4/codec
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Fri Jun 27 15:31:58 BST 2008
Author: piers
Date: Fri Jun 27 15:31:56 2008
New Revision: 4192
Modified:
vic/branches/mpeg4/codec/decoder-h264.cpp
Log:
Changed printf() call to debug_msg().
Set default image size to CIF - will change if new size comes in.
Modified: vic/branches/mpeg4/codec/decoder-h264.cpp
==============================================================================
--- vic/branches/mpeg4/codec/decoder-h264.cpp (original)
+++ vic/branches/mpeg4/codec/decoder-h264.cpp Fri Jun 27 15:31:56 2008
@@ -91,8 +91,8 @@
* Assume CIF. Picture header will trigger a resize if
* we encounter QCIF instead.
*/
- inw_ = 0;
- inh_ = 0;
+ inw_ = 352;
+ inh_ = 288;
/*XXX*/
resize(inw_, inh_);
@@ -246,15 +246,14 @@
}
if (len < 0) {
- //fprintf(stderr, "H264_RTP: frame error\n");
+ debug_msg("H264_RTP: frame error\n");
}
if (inw_ != h264.width || inh_ != h264.height) {
inw_ = h264.width;
inh_ = h264.height;
resize(inw_, inh_);
- }
- else {
+ } else {
Decoder::redraw(xxx_frame);
}
stream->clear();
More information about the Sumover-dev
mailing list