[MPlayer-dev-eng] [PATCH] ad_spdif.c: Flush output buffer after processing frame, fixes audio stutter

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Jun 28 21:59:37 CEST 2014


On Sat, Jun 28, 2014 at 08:08:37PM +0200, Jan Andres wrote:
> @@ -265,7 +265,7 @@
>              sh->pts       = pts;
>              sh->pts_bytes = 0;
>          }
> -        ret = lavf_ctx->oformat->write_packet(lavf_ctx, &pkt);
> +        ret = av_write_frame(lavf_ctx, &pkt);

This part is obviously correct regardless, so I committed it.
Thanks for spotting that.
As mentioned I wouldn't expect it to fix things on its own though?


More information about the MPlayer-dev-eng mailing list