diff rtp_h264.c @ 2941:6da0564c9d02 libavformat

Add a flags field to the RTPDynamicPayloadPacketHandlerProc (PKT_FLAG_*). This can be used later by RDT to get the flags from the RTP packet and use that for the RealMedia packet (such as whether this RTP packet represents a keyframe or not). For discussion, see "[PATCH] Realmedia / RTSP (RDT)".
author rbultje
date Fri, 18 Jan 2008 20:48:32 +0000
parents 6a7b82888880
children 6f61c3b36632
line wrap: on
line diff
--- a/rtp_h264.c	Thu Jan 17 20:48:07 2008 +0000
+++ b/rtp_h264.c	Fri Jan 18 20:48:32 2008 +0000
@@ -163,7 +163,7 @@
                               AVPacket * pkt,
                               uint32_t * timestamp,
                               const uint8_t * buf,
-                              int len)
+                              int len, int flags)
 {
 #ifdef DEBUG
     h264_rtp_extra_data *data = s->dynamic_protocol_context;