Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-distros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
- debian-stable
- fedora-42
- fedora-38
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: build-test-linux-on-push

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
python:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/build-msys2-mingw64.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: build-test-msys2-mingw64-on-push

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/build-windows-msvc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: build-test-windows-msvc-on-push

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
packages: write
Expand Down Expand Up @@ -55,4 +63,4 @@ jobs:

- name: Run tests
run: |
ctest --test-dir build -C Debug
ctest --test-dir build -C Debug --rerun-failed --output-on-failure
10 changes: 9 additions & 1 deletion .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: static-code-analysis

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
cppcheck:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ endif()

if(NOT EXISTS ${MLT_DATA_OUTPUT_DIRECTORY})
if(WIN32) # symlinks require admin rights on Windows
file(COPY "${CMAKE_SOURCE_DIR}/src/modules" DESTINATION "${CMAKE_BINARY_DIR}/out/share" FILES_MATCHING REGEX yml|txt)
file(COPY "${CMAKE_SOURCE_DIR}/src/modules" DESTINATION "${CMAKE_BINARY_DIR}/out/share" FILES_MATCHING REGEX "yml|txt|ini|dict")
file(RENAME "${CMAKE_BINARY_DIR}/out/share/modules" "${MLT_DATA_OUTPUT_DIRECTORY}")
file(COPY "${CMAKE_SOURCE_DIR}/presets" DESTINATION "${MLT_DATA_OUTPUT_DIRECTORY}")
file(COPY "${CMAKE_SOURCE_DIR}/profiles" DESTINATION "${MLT_DATA_OUTPUT_DIRECTORY}")
Expand Down
23 changes: 23 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
MLT Release Notes
-----------------

Version 7.40.0

Framework
- Added list-based image-conversion callback dispatch on mlt_frame.
Use `mlt_frame_append_convert_image()` to register a converter instead of
setting `frame->convert_image` directly. Multiple converters are tried in
registration order; the first that succeeds wins. New public API:
- `mlt_frame_prepend_convert_image()`
- `mlt_frame_append_convert_image()`
- `mlt_frame_convert_image()`
- `mlt_frame_next_convert_image()`
- `mlt_frame_has_convert_image()`
- `mlt_frame_copy_convert_image()`
- API behavior change: `mlt_frame_s::convert_image` is now read-only after
init and is permanently set to the dispatcher `mlt_frame_convert_image()`.
External code that set this field directly to a custom function will no
longer have that function called. If you really need that (never heard of
someone who does), clear the frame's "_convert_image_callbacks" property
and use `mlt_frame_append_convert_image()` instead.
- Image converters (`movit.convert`, `avcolor_space`, `imageconvert`) are
now attached data-driven via `loader.ini` key `image_convert`.


Version 7.38.0

Framework
Expand Down
6 changes: 5 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ cppcheck:
--include=src/framework/mlt_types.h \
--library=cppcheck.cfg \
--suppress=ctuOneDefinitionRuleViolation \
--suppress=syntaxError:src/modules/xml/common.c
--suppress=syntaxError:src/modules/xml/common.c \
--suppress=syntaxError:src/modules/placebo/filter_placebo_convert.c \
--suppress=syntaxError:src/modules/placebo/filter_placebo_render.c \
--suppress=syntaxError:src/modules/placebo/filter_placebo_shader.c \
--suppress=syntaxError:src/modules/placebo/gpu_context.c
10 changes: 10 additions & 0 deletions src/framework/mlt.vers
Original file line number Diff line number Diff line change
Expand Up @@ -687,3 +687,13 @@ MLT_7.36.0 {
mlt_color_convert_trc;
mlt_profile_is_valid;
} MLT_7.34.0;

MLT_7.40.0 {
global:
mlt_frame_append_convert_image;
mlt_frame_prepend_convert_image;
mlt_frame_has_convert_image;
mlt_frame_convert_image;
mlt_frame_next_convert_image;
mlt_frame_copy_convert_image;
} MLT_7.36.0;
Loading
Loading