diff mbox series

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

Message ID 20240506053219.216068-2-marcus@marcusspencer.xyz
State New
Headers show
Series [FFmpeg-devel,1/2] avcodec/bsf: add datamosh bitstream filter | expand

Checks

Context Check Description
andriy/make_fate_x86 success Make fate finished
andriy/make_x86 warning New warnings during build

Commit Message

Marcus B Spencer May 6, 2024, 5:32 a.m. UTC
Signed-off-by: Marcus B Spencer <marcus@marcusspencer.xyz>
---
 Changelog                 | 2 +-
 libavcodec/bsf/datamosh.c | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

Comments

Marcus B Spencer May 6, 2024, 5:47 a.m. UTC | #1
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@marcusspencer.xyz> wrote:

> 
> 
> Signed-off-by: Marcus B Spencer marcus@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
diff mbox series

Patch

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,
+};