On 16.05.2010 12:55, Klaus Schmidinger wrote:
On 15.05.2010 20:00, Newsy Paper wrote:
hi Luis,
seems like an ugly hack. Channel I'm receiving here has: Stream_type: 15 (0x0f) [= ISO/IEC 13818-7 Audio with ADTS transport sytax]
If you do this instead:
--- pat.c 2010/03/27 15:17:46 2.9 +++ pat.c 2010/05/16 10:53:46 @@ -358,6 +358,8 @@ break; case 3: // STREAMTYPE_11172_AUDIO case 4: // STREAMTYPE_13818_AUDIO
case 0x0F: // ISO/IEC 13818-7 Audio with ADTS transport sytax
case 0x11: // ISO/IEC 14496-3 Audio with LATM transport syntax { if (NumApids < MAXAPIDS) { Apids[NumApids] = esPid;
does this put the proper PID into the APID section? This may still not work with recordings, but I first want to know whether a proper PID is detected that way.
Ok, here's a complete patch that attempts to handle audio types. It is untested, so please use it with care. Please let me know whether this works with your audio types in live mode and with replaying recordings.
Klaus