rtmpproto: Extend a comment to explain the prev_pkt arrays roles
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
647d655d19
commit
dc4acc8200
@ -76,7 +76,7 @@ typedef struct TrackedMethod {
|
||||
typedef struct RTMPContext {
|
||||
const AVClass *class;
|
||||
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 out_chunk_size; ///< size of the chunks outgoing RTMP packets are divided into
|
||||
int is_input; ///< input/output flag
|
||||
|
Loading…
Reference in New Issue
Block a user