On Wed, 28 Oct 2015, Vittorio Giovara wrote:

On Wed, Oct 28, 2015 at 4:05 PM, Luca Barbato <[email protected]> wrote:

Signed-off-by: Vittorio Giovara <[email protected]>
---
 libavcodec/avcodec.h       | 6 ++++++
 libavcodec/mpegvideo_enc.c | 8 ++++++++
 libavcodec/version.h       | 3 +++
 3 files changed, 17 insertions(+)

amended:

This function returns the encoded data of a frame, one slice at a time
directly when that slice is encoded, instead of waiting for the full
frame to be done.

The usefulness of this field is debatable, the name is misleading, as it isn't
rtp-specific in any way, and it looks like it is
mainly a convoluted way to get data at lowest possible latency, and
only when transmitting over RTP (despite not being enforced by any means).

You're still contradicting yourself - first you say it isn't rtp-specific, but then you say you could only use it when transmitting over RTP.

You could use this approach with any transport protocol where you can start sending individual slices before the full frame is available.

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

Reply via email to