Ross,

The following patch fixes a problem that the H264 Profile Level Id was being
built and then truncated in u_int8_t profile_level_id; it needs to be
u_int32_t profile_level_id.

$ svn diff lib/live/liveMedia/H264VideoRTPSink.cpp
Index: lib/live/liveMedia/H264VideoRTPSink.cpp
===================================================================
--- lib/live/liveMedia/H264VideoRTPSink.cpp     (revision 5703)
+++ lib/live/liveMedia/H264VideoRTPSink.cpp     (working copy)
@@ -112,7 +112,7 @@
   framerSource->getSPSandPPS(sps, spsSize, pps, ppsSize);
   if (sps == NULL || pps == NULL) return NULL; // our source isn't ready

-  u_int8_t profile_level_id;
+  u_int32_t profile_level_id;
   if (spsSize < 4) { // sanity check
     profile_level_id = 0;
   } else {



-- 
Geoff
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to