[FFmpeg-devel] [PATCH 2/8] avformat: introduce AVStreamGroup

Anton Khirnov anton at khirnov.net
Mon Dec 11 12:59:19 EET 2023


Quoting James Almer (2023-12-05 23:43:56)
> @@ -2819,6 +2972,22 @@ AVRational av_guess_frame_rate(AVFormatContext *ctx, AVStream *stream,
>  int avformat_match_stream_specifier(AVFormatContext *s, AVStream *st,
>                                      const char *spec);
>  
> +/**
> + * Check if the group stg contained in s is matched by the stream group
> + * specifier spec.
> + *
> + * See the "stream group specifiers" chapter in the documentation for the
> + * syntax of spec.
> + *
> + * @return  >0 if stg is matched by spec;
> + *          0  if stg is not matched by spec;
> + *          AVERROR code if spec is invalid
> + *
> + * @note  A stream group specifier can match several groups in the format.
> + */
> +int avformat_match_stream_group_specifier(AVFormatContext *s, AVStreamGroup *stg,
> +                                          const char *spec);

What is this for? It does not seem to be used in this set.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list