On 02/21/2012 01:15 PM, Paul B Mahol wrote:

> Signed-off-by: Paul B Mahol <[email protected]>
> ---
>  libavformat/cdxl.c |   14 ++++++++++----
>  1 files changed, 10 insertions(+), 4 deletions(-)
[...]
> @@ -140,6 +145,7 @@ static int cdxl_read_packet(AVFormatContext *s, AVPacket 
> *pkt)
>          pkt->stream_index  = cdxl->video_stream_index;
>          pkt->flags        |= AV_PKT_FLAG_KEY;
>          pkt->pos           = pos;
> +        pkt->duration      = cdxl->framerate ? 1 : audio_size ? audio_size : 
> 220;


where does the 220 default come from? that's somewhere around 50fps for
the default sample rate.

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

Reply via email to