summaryrefslogtreecommitdiff
path: root/xine_input_vdr_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'xine_input_vdr_net.h')
-rw-r--r--xine_input_vdr_net.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/xine_input_vdr_net.h b/xine_input_vdr_net.h
index da93476d..54dd00e5 100644
--- a/xine_input_vdr_net.h
+++ b/xine_input_vdr_net.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr_net.h,v 1.9 2007-03-29 14:22:27 phintuka Exp $
+ * $Id: xine_input_vdr_net.h,v 1.10 2009-02-10 15:15:03 phintuka Exp $
*
*/
@@ -146,13 +146,15 @@ typedef struct stream_rtp_header_impl {
} PACKED stream_rtp_header_impl_t;
-#define RTP_VERSION 2
-#define RTP_MARKER_BIT 0x80
-#define RTP_HDREXT_BIT 0x10
-#define RTP_PAYLOAD_TYPE 96 /* application */
+#define RTP_VERSION 2
+#define RTP_MARKER_BIT 0x80
+#define RTP_HDREXT_BIT 0x10
+#define RTP_PAYLOAD_TYPE_PES 96 /* application */
+#define RTP_PAYLOAD_TYPE_TS 33 /* MPEG-TS */
-#define RTP_VERSION_BYTE (RTP_VERSION<<6)
-#define RTP_PAYLOAD_TYPE_M (RTP_PAYLOAD_TYPE|RTP_MARKER_BIT)
+#define RTP_VERSION_BYTE (RTP_VERSION<<6)
+#define RTP_PAYLOAD_TYPE_PES_M (RTP_PAYLOAD_TYPE_PES|RTP_MARKER_BIT)
+#define RTP_PAYLOAD_TYPE_TS_M (RTP_PAYLOAD_TYPE_TS |RTP_MARKER_BIT)
#define RTP_HEADER_EXT_X_SIZE 3 /* dwords, not counting stream_rtp_header_ext_t */
#define RTP_HEADER_EXT_X_TYPE 0x54d3