[sip-comm-dev] Re: svn commit: r6713 - trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java


#1

Hi Lubomir,

Well done! It works perfectly now.

Thanks!

···

--
Seb

lubomir_m@dev.java.net a écrit :

Author: lubomir_m
Date: 2010-02-02 23:25:04+0000
New Revision: 6713

Modified:
   trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java

Log:
Fixes a problem in the H.264 encoding which appeared as the video on the receiving peer having yellow lines allover it and faded colors.

Modified: trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java?view=diff&rev=6713&p1=trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java&p2=trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java&r1=6712&r2=6713

--- trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java (original)
+++ trunk/src/net/java/sip/communicator/impl/neomedia/codec/video/h264/JNIEncoder.java 2010-02-02 23:25:04+0000
@@ -303,8 +303,7 @@
         avframe = FFMPEG.avcodec_alloc_frame();
         int size = width * height;
         FFMPEG.avframe_set_data(avframe, rawFrameBuffer, size, size / 4);
- FFMPEG.avframe_set_linesize(avframe, width, height / 2,
- width / 2);
+ FFMPEG.avframe_set_linesize(avframe, width, width / 2, width / 2);
          encFrameBuffer = new byte[encFrameLen];

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: commits-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net