On Mon, Feb 16, 2015 at 10:22:15PM +0100, Nicolas George wrote:
> The value tells the typical size of a packet from the demuxer.
> 
> Signed-off-by: Nicolas George <geo...@nsup.org>
> ---
>  libavdevice/alsa-audio-common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c
> index bf876ed..f4b86bb 100644
> --- a/libavdevice/alsa-audio-common.c
> +++ b/libavdevice/alsa-audio-common.c
> @@ -260,7 +260,7 @@ av_cold int ff_alsa_open(AVFormatContext *ctx, 
> snd_pcm_stream_t mode,
>                 snd_strerror(res));
>          goto fail;
>      }
> -    s->period_size = period_size;
> +    ctx->streams[0]->codec->frame_size = s->period_size = period_size;

doesnt this also set it for the muxer ?
otherwise it is probably ok but you know this code better than i do ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to