]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc.h
frmdec: tag 2 is AV_PIX_FMT_RGB0
[ffmpeg] / libavformat / rtpenc.h
index bc523b442a2fe6abc822ef8bee915cd4511e6b2f..f304ea8c58152d018035441178aa1dc7e0bbdcb4 100644 (file)
@@ -30,6 +30,7 @@ struct RTPMuxContext {
     AVStream *st;
     int payload_type;
     uint32_t ssrc;
+    const char *cname;
     uint16_t seq;
     uint32_t timestamp;
     uint32_t base_timestamp;
@@ -38,13 +39,13 @@ struct RTPMuxContext {
     int num_frames;
 
     /* rtcp sender statistics receive */
-    int64_t last_rtcp_ntp_time;    // TODO: move into statistics
-    int64_t first_rtcp_ntp_time;   // TODO: move into statistics
+    int64_t last_rtcp_ntp_time;
+    int64_t first_rtcp_ntp_time;
 
     /* rtcp sender statistics */
-    unsigned int packet_count;     // TODO: move into statistics (outgoing)
-    unsigned int octet_count;      // TODO: move into statistics (outgoing)
-    unsigned int last_octet_count; // TODO: move into statistics (outgoing)
+    unsigned int packet_count;
+    unsigned int octet_count;
+    unsigned int last_octet_count;
     int first_packet;
     /* buffer for output */
     uint8_t *buf;
@@ -59,6 +60,8 @@ struct RTPMuxContext {
     int nal_length_size;
 
     int flags;
+
+    unsigned int frame_count;
 };
 
 typedef struct RTPMuxContext RTPMuxContext;