Commits on Source (22)
-
Steve Lhomme authored
We don't use module_need() or "video blending".
e8c7b4dd -
Steve Lhomme authored
So it matches the same Open callback as the other video filters.
3f629df4 -
Steve Lhomme authored
All video filters have a priority of 0 because they are loaded by name and should never be picked as a fallback for other filters. This video filter is either loaded by name from the command-line or in vlc_gl_WrapOpenGLFilter().
382e20ad -
Steve Lhomme authored
So it matches the same Open callback as the other video filters.
09a3439a -
Steve Lhomme authored
No functional changes.
739ea5a6 -
Steve Lhomme authored
Because of the filter chain, they must have a common way to open them. Some types of filters may not be used by the filter chain (for example the text renderer). But still need to be activated the same way. If this ever changes They will need their own open callback type back.
eb8fa683 -
Steve Lhomme authored
The activate function should match exactly vlc_filter_open, rather than use a generic vlc_object_t loader. Then we don't have any dirty cast. The code is similar to module_need, with better typing. It's not possible to inline this because we need to call vlc_objres_clear() for each module loaded unsuccessfully. It's not a public API.
3021f0dc -
Steve Lhomme authored12846506
-
Steve Lhomme authoreda3e976b6
-
Steve Lhomme authored648cd883
-
Steve Lhomme authored2fba49b6
-
Steve Lhomme authored
As well as an inline function to completely destroy a filter_t. The close function is called and the deactivate is not, since there should be none.
4628379a -
Steve Lhomme authored
It's better suited for filter_t.
10edd6b9 -
Steve Lhomme authored
It's better suited for filter_t.
e89464c8 -
Steve Lhomme authored
Use vlc_filter_UnloadModule instead.
188c3644 -
Steve Lhomme authoredc50fdba6
-
Steve Lhomme authored
Only the first 3 elements are the same in filter_t and decoder_t. This warning is probably wrong anyway.
cb484052 -
Steve Lhomme authored
So we don't need an activate function with varargs. We can call the vlc_filter_open directly.
2ed02541 -
Steve Lhomme authoredea63eb9c
-
Steve Lhomme authored
Co-authored-by:
Alexandre Janniaux <ajanni@videolabs.io>
1773bcae -
Steve Lhomme authoredadd11b9e
-
Steve Lhomme authored
Now they do the same.
fe26ba9b
Showing
- include/vlc_codec.h 1 addition, 1 deletioninclude/vlc_codec.h
- include/vlc_filter.h 16 additions, 18 deletionsinclude/vlc_filter.h
- modules/access/screen/screen.c 0 additions, 1 deletionmodules/access/screen/screen.c
- modules/access/screen/win32.c 2 additions, 5 deletionsmodules/access/screen/win32.c
- modules/audio_filter/scaletempo.c 1 addition, 3 deletionsmodules/audio_filter/scaletempo.c
- modules/hw/d3d11/d3d11_surface.c 2 additions, 7 deletionsmodules/hw/d3d11/d3d11_surface.c
- modules/hw/d3d9/dxa9.c 2 additions, 7 deletionsmodules/hw/d3d9/dxa9.c
- modules/video_filter/blendbench.c 2 additions, 6 deletionsmodules/video_filter/blendbench.c
- modules/video_filter/ci_filters.m 3 additions, 8 deletionsmodules/video_filter/ci_filters.m
- modules/video_filter/deinterlace/glblend.c 3 additions, 6 deletionsmodules/video_filter/deinterlace/glblend.c
- modules/video_filter/opencv_wrapper.c 1 addition, 3 deletionsmodules/video_filter/opencv_wrapper.c
- modules/video_filter/opengl.c 11 additions, 14 deletionsmodules/video_filter/opengl.c
- modules/video_output/apple/VLCSampleBufferDisplay.m 2 additions, 7 deletionsmodules/video_output/apple/VLCSampleBufferDisplay.m
- modules/video_output/opengl/gl_util.c 1 addition, 1 deletionmodules/video_output/opengl/gl_util.c
- src/audio_output/filters.c 2 additions, 9 deletionssrc/audio_output/filters.c
- src/audio_output/meter.c 2 additions, 7 deletionssrc/audio_output/meter.c
- src/libvlccore.sym 2 additions, 0 deletionssrc/libvlccore.sym
- src/misc/filter.c 3 additions, 10 deletionssrc/misc/filter.c
- src/misc/filter_chain.c 88 additions, 46 deletionssrc/misc/filter_chain.c
- src/misc/image.c 2 additions, 6 deletionssrc/misc/image.c