Quoting James Almer (2023-12-11 13:53:40)
> On 12/11/2023 8:03 AM, Anton Khirnov wrote:
> > Quoting James Almer (2023-12-05 23:43:56)
> >> +/**
> >> + * Remove a stream group from its AVFormatContext and free it.
> >> + * The group must be the last stream of the AVFormatContext.
> >> + */
> >> +voi
On 12/11/2023 8:03 AM, Anton Khirnov wrote:
Quoting James Almer (2023-12-05 23:43:56)
+/**
+ * Remove a stream group from its AVFormatContext and free it.
+ * The group must be the last stream of the AVFormatContext.
+ */
+void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg);
Wh
Quoting James Almer (2023-12-11 13:48:17)
> On 12/11/2023 7:59 AM, Anton Khirnov wrote:
> > 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 *
On 12/11/2023 7:59 AM, Anton Khirnov wrote:
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
Quoting James Almer (2023-12-05 23:43:56)
> +/**
> + * Remove a stream group from its AVFormatContext and free it.
> + * The group must be the last stream of the AVFormatContext.
> + */
> +void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg);
When would this be useful?
--
Anton Kh
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 t