On 09/28/2012 12:10 AM, Justin Ruggles wrote:
> On 09/27/2012 05:41 PM, Luca Barbato wrote:
>> ---
>>  libavformat/avformat.h | 25 +++++++++++++++++++++++++
>>  libavformat/output.c   | 43 +++++++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 68 insertions(+)
> [...]
>> @@ -416,7 +431,13 @@ typedef struct AVOutputFormat {
>>       * data.
>>       */
>>      int (*write_packet)(struct AVFormatContext *, AVPacket *pkt);
>> +
>>      int (*write_trailer)(struct AVFormatContext *);
>> +
>> +    int (*write_trailer2)(struct AVFormatContext *);
>> +
>> +    int (*deinit)(struct AVFormatContext *);
>> +
> 
> Where are these used?

In the upcoming patches, I'll split mpegts as first.

Usages:

- Quite low latency streaming (you spare some time if you have the muxer
already configured and ready for your purposes)
- Segment muxer with h264 and mpegts (and hls once I write the playlist
code for it)
- Any other application recycling a muxer more than once.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to