Ethereal-users: [Ethereal-users] Adding MPEG payload type to packet-rtp.c?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Craig Rodrigues <rodrigc@xxxxxxxxxxxx>
Date: Tue, 6 Feb 2001 04:14:13 -0500
Hi,

In RFC 1890, section 7, there is an RTP payload type
for MPEG-I/II video.  Is it OK if this patch is applied to
packet-rtp.c?  (I am using Ethereal to help debug and develop
an MPEG application).

Thanks.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx          
--- packet-rtp.c.orig	Tue Feb  6 04:09:30 2001
+++ packet-rtp.c	Tue Feb  6 04:11:13 2001
@@ -130,6 +130,7 @@
 #define PT_G728 15
 #define PT_G729 18
 #define PT_H261 31
+#define PT_MPV  32
 #define PT_H263 34
 
 static const value_string rtp_payload_type_vals[] = 
@@ -141,6 +142,7 @@
 	{ PT_G728, "ITU-T G.728" },
 	{ PT_G729, "ITU-T G.729" },
 	{ PT_H261, "ITU-T H.261" },
+	{ PT_MPV,  "MPEG-I/II Video"},
 	{ PT_H263, "ITU-T H.263" },
 	{ 0, NULL },
 };