mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01:00
Change function prototype of RTPDynamicPayloadHandler.parse_packet() to
not use RTPDemuxContext, but rather take a pointer to the payload context directly. This allows using payload handlers regardless over the transport over which they were sent, and prepares for the introduction of a future RDTDemuxContext. See discussion in "RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15541 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -46,13 +46,15 @@ typedef struct PayloadContext PayloadContext;
|
||||
* Packet parsing for "private" payloads in the RTP specs.
|
||||
*
|
||||
* @param s stream context
|
||||
* @param st stream that this packet belongs to
|
||||
* @param pkt packet in which to write the parsed data
|
||||
* @param timestamp pointer in which to write the timestamp of this RTP packet
|
||||
* @param buf pointer to raw RTP packet data
|
||||
* @param len length of buf
|
||||
* @param flags flags from the RTP packet header (PKT_FLAG_*)
|
||||
*/
|
||||
typedef int (*DynamicPayloadPacketHandlerProc) (struct RTPDemuxContext * s,
|
||||
typedef int (*DynamicPayloadPacketHandlerProc) (PayloadContext *s,
|
||||
AVStream *st,
|
||||
AVPacket * pkt,
|
||||
uint32_t *timestamp,
|
||||
const uint8_t * buf,
|
||||
|
||||
Reference in New Issue
Block a user