Commit dc4acc82 authored by Martin Storsjö's avatar Martin Storsjö

rtmpproto: Extend a comment to explain the prev_pkt arrays roles

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 647d655d
...@@ -76,7 +76,7 @@ typedef struct TrackedMethod { ...@@ -76,7 +76,7 @@ typedef struct TrackedMethod {
typedef struct RTMPContext { typedef struct RTMPContext {
const AVClass *class; const AVClass *class;
URLContext* stream; ///< TCP stream used in interactions with RTMP server URLContext* stream; ///< TCP stream used in interactions with RTMP server
RTMPPacket prev_pkt[2][RTMP_CHANNELS]; ///< packet history used when reading and sending packets RTMPPacket prev_pkt[2][RTMP_CHANNELS]; ///< packet history used when reading and sending packets ([0] for reading, [1] for writing)
int in_chunk_size; ///< size of the chunks incoming RTMP packets are divided into int in_chunk_size; ///< size of the chunks incoming RTMP packets are divided into
int out_chunk_size; ///< size of the chunks outgoing RTMP packets are divided into int out_chunk_size; ///< size of the chunks outgoing RTMP packets are divided into
int is_input; ///< input/output flag int is_input; ///< input/output flag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment