[FFmpeg-devel] [PATCH] round-robin like scheduling for multichannel inputs. Important in case of capture devices. Else the first channel is preferred always.

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Nov 6 23:52:48 EET 2018


2018-11-06 13:15 GMT+01:00, Roman Sidler <sidse007 at gmail.com>:
> ---
>  fftools/ffmpeg.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
> index da4259a9a8..fa54421d73 100644
> --- a/fftools/ffmpeg.c
> +++ b/fftools/ffmpeg.c
> @@ -3869,12 +3869,14 @@ static int need_output(void)
>   */
>  static OutputStream *choose_output(void)
>  {
> -    int i;
> +    int i,_i;

I cannot comment on the change but please do not
use variable names starting with "_".

Carl Eugen


More information about the ffmpeg-devel mailing list