jinnoyo / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

H264 Packetizer exits prematurely v1.4 #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
v1.4 Does not work on Nexus One - no video packets ever get sent.

The reason is that the loop which searches for the mdat atom terminates the 
packetizer thread, rather than just terminating the loop.

Line 74 in H264Packetizer.java says: if (len<=0) return;

It should be read "if (len<=0) break;"

Original issue reported on code.google.com by martin.d...@gmail.com on 21 Dec 2011 at 12:38

GoogleCodeExporter commented 8 years ago
Yep that's right, thanks :) 

Original comment by FyHertz on 22 Dec 2011 at 3:00