Mercurial > libavformat.hg
changeset 1252:613adcd70d18 libavformat
update documentation
author | bcoudurier |
---|---|
date | Fri, 11 Aug 2006 21:24:54 +0000 |
parents | d06e5cb7fb52 |
children | f3d5e1c49875 |
files | utils.c |
diffstat | 1 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Fri Aug 11 21:21:51 2006 +0000 +++ b/utils.c Fri Aug 11 21:24:54 2006 +0000 @@ -2414,9 +2414,18 @@ } /** - * interleave_packet implementation which will interleave per DTS. - * packets with pkt->destruct == av_destruct_packet will be freed inside this function. - * so they cannot be used after it, note calling av_free_packet() on them is still safe + * Interleave a packet per DTS in an output media file. + * + * Packets with pkt->destruct == av_destruct_packet will be freed inside this function, + * so they cannot be used after it, note calling av_free_packet() on them is still safe. + * + * @param s media file handle + * @param out the interleaved packet will be output here + * @param in the input packet + * @param flush 1 if no further packets are available as input and all + * remaining packets should be output + * @return 1 if a packet was output, 0 if no packet could be output, + * < 0 if an error occured */ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush){ AVPacketList *pktl, **next_point, *this_pktl;