[FFmpeg-devel] [PATCH 2/2] Changelog: add datamosh bitstream filter entry

marcus marcus at marcusspencer.xyz
Mon May 6 08:47:15 EEST 2024


This pull request has issues with unrelated changes being put in here due to a history change failure. Reject it.




On Monday, May 6th, 2024 at 12:32 AM, Marcus B Spencer <marcus at marcusspencer.xyz> wrote:

> 
> 
> Signed-off-by: Marcus B Spencer marcus at marcusspencer.xyz
> 
> ---
> Changelog | 2 +-
> libavcodec/bsf/datamosh.c | 8 ++++++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/Changelog b/Changelog
> index e827208439..decfc4e4bb 100644
> --- a/Changelog
> +++ b/Changelog
> @@ -9,7 +9,7 @@ version <next>:
> 
> - pad_vaapi, drawbox_vaapi filters
> - vf_scale supports secondary ref input and framesync options
> - vf_scale2ref deprecated
> -
> +- datamosh bitstream filter
> 
> version 7.0:
> - DXV DXT1 encoder
> diff --git a/libavcodec/bsf/datamosh.c b/libavcodec/bsf/datamosh.c
> index 8314a4efc8..dad65e957d 100644
> --- a/libavcodec/bsf/datamosh.c
> +++ b/libavcodec/bsf/datamosh.c
> @@ -86,3 +86,11 @@ static const AVClass datamosh_class = {
> .option = options,
> .version = LIBAVUTIL_VERSION_INT,
> };
> +
> +const FFBitStreamFilter ff_datamosh_bsf = {
> + .p.name = "datamosh",
> + .p.priv_class = &datamosh_class,
> + .priv_data_size = sizeof(DatamoshContext),
> + .init = datamosh_init,
> + .filter = datamosh,
> +};
> --
> 2.45.0


More information about the ffmpeg-devel mailing list