[vlc-commits] [Git][videolan/vlc][master] rtp: fix initialization

2022-05-04 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: d651ee5b by Romain Vimont at 2022-05-04T22:20:28+00:00 rtp: fix initialization The pointer pt-opaque was initialized only under some conditions in rtp_h264_open(), but its value was used unconditionnaly in rtp_h264_init

[vlc-commits] [Git][videolan/vlc][3.0.x] 4 commits: Revert "opengl: vout_helper: use pl_gpu_dummy for shaders"

2022-01-21 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch 3.0.x at VideoLAN / VLC Commits: 110d69c8 by Niklas Haas at 2022-01-18T16:47:22+01:00 Revert opengl: vout_helper: use pl_gpu_dummy for shaders This reverts commit 2437484d7684a4661048df1e095484a276bbea0b. The referenced commit is not a good way of fixing

[vlc-commits] [Git][videolan/vlc][master] 2 commits: vout: fix code style

2022-01-14 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 203c06bf by Romain Vimont at 2022-01-14T11:53:15+00:00 vout: fix code style - - - - - f37fcb13 by Romain Vimont at 2022-01-14T11:53:15+00:00 vout: ignore RenderPicture() failure Even if RenderPicture() returns an error

[vlc-commits] [Git][videolan/vlc][master] 2 commits: core: fix incorrect use of ssize_t

2022-01-04 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 55995aa4 by Romain Vimont at 2022-01-04T15:06:45+00:00 core: fix incorrect use of ssize_t The type ssize_t may contain either a non-negative integer or -1. It is only guaranteed to support values in range [-1, SSIZE_MAX], so

[vlc-commits] [Git][videolan/vlc][master] vout: simplify deadline handling

2021-12-22 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 4716c6f7 by Romain Vimont at 2021-12-22T14:57:46+00:00 vout: simplify deadline handling The deadline computation was shared between the vout thread function and DisplayPicture(), both by hacking the return value (VLC_EGENERIC

[vlc-commits] [Git][videolan/vlc][master] qt: fix MouseEventFilter crash on exit

2021-12-17 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 793ffc25 by Romain Vimont at 2021-12-17T15:19:01+00:00 qt: fix MouseEventFilter crash on exit The target QObject may be destroyed before the MouseEventFilter instance, causing a crash in MouseEventFilter::detach(): /usr

[vlc-commits] [Git][videolan/vlc][master] croppadd: handle metadata rotated videos

2021-11-12 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 419ad46d by Mitch Capper at 2021-11-12T08:58:11+00:00 croppadd: handle metadata rotated videos - - - - - 1 changed file: - modules/video_filter/croppadd.c Changes: = modules/video_filter

[vlc-commits] [Git][videolan/vlc][master] opengl: simplify generated GLSL code

2021-10-04 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 606648f4 by Romain Vimont at 2021-10-04T09:28:52+00:00 opengl: simplify generated GLSL code Now that TexCoordsMap is the same for all planes, initializing the pixel vec4 in several steps is not necessary anymore. Concretely

[vlc-commits] [Git][videolan/vlc][master] 2 commits: opengl: fix double initialization in mock

2021-09-26 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 80645141 by Romain Vimont at 2021-09-26T16:02:45+00:00 opengl: fix double initialization in mock This code had been duplicated by error by 7fc162775f88e2c6ebb979fee81e45f5e6266f43. - - - - - 18c638a9 by Romain Vimont at 2021-09

[vlc-commits] [Git][videolan/vlc][master] 2 commits: opengl: simplify TexSize multiplication

2021-09-23 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 893aa567 by Romain Vimont at 2021-09-23T11:52:37+00:00 opengl: simplify TexSize multiplication Multiply two vec2 directly instead of multiplying their components separately. - - - - - 499b7ef7 by Romain Vimont at 2021-09-23T11

[vlc-commits] [Git][videolan/vlc][master] 2 commits: opengl: check sampler failure

2021-09-02 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: e3ffa4c2 by Romain Vimont at 2021-09-01T10:33:14+02:00 opengl: check sampler failure On first call, vlc_gl_filter_GetSampler() may return NULL, so check the return value. - - - - - 021c73cd by Romain Vimont at 2021-09-01T10:33

[vlc-commits] [Git][videolan/vlc][master] 2 commits: qt: fixup url from openurl dialog

2021-08-30 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 02836796 by Marvin Scholz at 2021-08-30T09:14:21+00:00 qt: fixup url from openurl dialog Fixes #21661 - - - - - 50728ae6 by Marvin Scholz at 2021-08-30T09:14:21+00:00 qt: fixup url from open network panel Fixes #21661

[vlc-commits] [Git][videolan/vlc][master] 4 commits: opengl: reorder interop functions

2021-08-28 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 967e96ae by Romain Vimont at 2021-08-28T16:07:02+00:00 opengl: reorder interop functions This will allow to reference opengl_interop_init_impl without forward declaration. - - - - - 010ee857 by Romain Vimont at 2021-08-28T16:07

[vlc-commits] [Git][videolan/vlc][master] opengl: fix coords mapping in plane filtering

2021-08-27 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: d94968e8 by Romain Vimont at 2021-08-27T14:25:56+00:00 opengl: fix coords mapping in plane filtering The matrix to bind might be different for each plane. - - - - - 1 changed file: - modules/video_output/opengl/sampler.c

[vlc-commits] [Git][videolan/vlc][master] 4 commits: opengl: reorder Makefile

2021-08-25 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 4e5d3ade by Romain Vimont at 2021-08-24T11:23:35+02:00 opengl: reorder Makefile Gather all libgl_plugin.la declarations at the same place. - - - - - 01d983f8 by Romain Vimont at 2021-08-24T11:23:35+02:00 opengl: remove

[vlc-commits] [Git][videolan/vlc][master] opengl: move vout-specific files to vout modules

2021-08-24 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 163fb486 by Romain Vimont at 2021-08-24T08:50:55+00:00 opengl: move vout-specific files to vout modules Some OpenGL vout-specific source files where included into all OpenGL modules. They were not necessary for OpenGL filters

[vlc-commits] [Git][videolan/vlc][master] Extract OpenGL filter wrapper

2021-08-22 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: c7ab5240 by Romain Vimont at 2021-08-22T12:16:59+00:00 Extract OpenGL filter wrapper In order to implement several standalone video filters (with capability video filter) using OpenGL filters (with capability opengl filter

[vlc-commits] [Git][videolan/vlc][master] vout: remove debug dead code

2021-07-23 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 633d1d85 by Romain Vimont at 2021-07-23T10:35:01+00:00 vout: remove debug dead code This dead code is not maintained. - - - - - 1 changed file: - src/video_output/video_output.c Changes

[vlc-commits] [Git][videolan/vlc][master] video_output: remove wait misfire hazard margin

2021-07-22 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 832b8519 by Alexandre Janniaux at 2021-07-22T13:19:41+00:00 video_output: remove wait misfire hazard margin The time taken by the prepare is compound of measurements taken in actual preparation steps. Its made of the time needed

[vlc-commits] [Git][videolan/vlc][master] 2 commits: vout: extract filtering to a separate function

2021-07-20 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: be892430 by Romain Vimont at 2021-07-20T20:19:40+00:00 vout: extract filtering to a separate function This is a first step to simplify RenderPicture(). - - - - - 2ba73428 by Romain Vimont at 2021-07-20T20:19:40+00:00 vout

[vlc-commits] [Git][videolan/vlc][master] vout: improve chrono estimation on start

2021-07-20 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: e6bb48cc by Romain Vimont at 2021-07-20T12:29:00+00:00 vout: improve chrono estimation on start During a new measurement, the current state of the chrono were always weighted in the same way, regardless of the number of samples

[vlc-commits] [Git][videolan/vlc][master] vout: update system_pts on clock-based wait

2021-07-16 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 207fcd92 by Romain Vimont at 2021-07-16T06:23:19+00:00 vout: update system_pts on clock-based wait The wait duration may vary on clock state changes. The display date must be updated accordingly, and the clock update must use

[vlc-commits] [Git][videolan/vlc][master] vout: rename chrono "var" to "mad"

2021-07-15 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: f214ead3 by Romain Vimont at 2021-07-16T05:34:35+00:00 vout: rename chrono var to mad The name var is misleading: the vout chrono actually uses a mean absolute deviation, not a variance (squared deviation) or standard

[vlc-commits] [Git][videolan/vlc][master] vout: remove duplicate variable

2021-07-14 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: a28a9dd7 by Romain Vimont at 2021-07-14T16:34:06+00:00 vout: remove duplicate variable A variable vout was an alias for sys to avoid renames. - - - - - 1 changed file: - src/video_output/video_output.c Changes

[vlc-commits] [Git][videolan/vlc][master] vout: explicitly release picture_t

2021-07-14 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 8db45908 by Romain Vimont at 2021-07-14T16:13:08+00:00 vout: explicitly release picture_t The picture_t was released implicitly from vout_dispay_Display(). If the caller explicitly wants to check if the display callback is NULL

[vlc-commits] [Git][videolan/vlc][master] vlc_tick: add MIN and MAX constants

2021-07-10 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: e5d44f6a by Romain Vimont at 2021-07-10T14:26:56+00:00 vlc_tick: add MIN and MAX constants Replace INT64_MIN and INT64_MAX used as vlc_tick_t values by VLC_TICK_MIN and VLC_TICK_MAX. - - - - - 27 changed files: - include

[vlc-commits] [Git][videolan/vlc][master] 3 commits: vout: rename "is_waiting" to "yielding"

2021-07-07 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 936bceb9 by Romain Vimont at 2021-07-07T09:51:39+00:00 vout: rename is_waiting to yielding This highlights that the flag is true when the vout thread is yielding execution to another thread waiting on vout_control_Enter

[vlc-commits] [Git][videolan/vlc][master] vout display: make sys a void pointer

2021-07-07 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 3af1b9dc by Romain Vimont at 2021-07-07T09:26:17+00:00 vout display: make sys a void pointer The concrete sys type is local to each module. - - - - - 26 changed files: - include/vlc_vout_display.h - modules/hw/mmal/vout.c

[vlc-commits] [Git][videolan/vlc][master] clock: do not convert offset to double

2021-07-06 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 69b61afb by Romain Vimont at 2021-07-06T15:34:17+00:00 clock: do not convert offset to double The clock offset is a 64-bit integer (vlc_tick_t), so a conversion to double, which has only 53 bits precision, could produce

[vlc-commits] [Git][videolan/vlc][master] vout: remove unused vout_chrono_Reset()

2021-07-02 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 6fe86449 by Romain Vimont at 2021-07-02T13:24:18+00:00 vout: remove unused vout_chrono_Reset() This function has never been used since its introduction in 958ae35d1498512821ebcdb2d98d4ce7fce4871b. Also remove the avg_initial

[vlc-commits] [Git][videolan/vlc][master] upnp: fix warning

2021-07-02 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 616c6429 by Lyndon Brown at 2021-07-02T06:18:08+00:00 upnp: fix warning caught by type strict plugin descriptor macros. - - - - - 1 changed file: - modules/services_discovery/upnp.cpp Changes

[vlc-commits] [Git][videolan/vlc][master] qt: remove unnecessary item skipping

2021-07-01 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 1fb307f7 by Lyndon Brown at 2021-07-01T14:42:09+00:00 qt: remove unnecessary item skipping `module_config_get()` already filters these out so this is redundant. - - - - - 1 changed file: - modules/gui/qt/dialogs/preferences

[vlc-commits] [Git][videolan/vlc][master] swscale: silent enum warnings

2021-07-01 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 8ec0dfc3 by Romain Vimont at 2021-07-01T13:52:59+00:00 swscale: silent enum warnings Commit b6f3628fa224a266e7f8e7559a05f293230e1d25 replaced the pixel format type from int to enum AVPixelFormat. As a consequence, an incomplete

[vlc-commits] [Git][videolan/vlc][master] qt: playlist: add option to sort by title

2021-07-01 Thread Romain Vimont (@rom1v)
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 97d7c1c4 by Romain Vimont at 2021-07-01T13:21:09+00:00 qt: playlist: add option to sort by title It was possible to sort by all criteria except by title. - - - - - 1 changed file: - modules/gui/qt/playlist

[vlc-commits] [Git][videolan/vlc][master] vout: remove unused paused parameter

2021-06-18 Thread Romain Vimont
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 3d3e23fa by Romain Vimont at 2021-06-18T07:37:30+00:00 vout: remove unused paused parameter The parameter paused was written but never read by the caller. This is the case since f1bf7ce5b4480a3d38d54c7ae1d1564f0670d83f

[vlc-commits] [Git][videolan/vlc][master] vout: remove Thread and ThreadDisplay prefixes

2021-06-16 Thread Romain Vimont
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 7c8beb2f by Romain Vimont at 2021-06-16T14:29:20+00:00 vout: remove Thread and ThreadDisplay prefixes Some static functions were named with prefixes. For unknown reasons, there were two different prefixes (Thread

[vlc-commits] [Git][videolan/vlc][master] medialib: acquire priority access for Control

2021-06-15 Thread Romain Vimont
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 98611f69 by Romain Vimont at 2021-06-15T08:20:28+00:00 medialib: acquire priority access for Control Contrary to Get and List requests, which acquire the priority access since 7ef4e1effe76ef9b33db0ca8f740c1b93cc6c8d9, not all

[vlc-commits] [Git][videolan/vlc][master] medialib: acquire priority access

2021-06-09 Thread Romain Vimont
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 7ef4e1ef by Romain Vimont at 2021-06-09T06:38:22+00:00 medialib: acquire priority access During indexation, the medialibrary executes a lot of write SQL queries from a background thread. As a consequence, requests initiated

[vlc-commits] [Git][videolan/vlc][master] 3 commits: deinterlace: fail on unknown mode

2021-06-08 Thread Romain Vimont
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: a5b4903d by Romain Vimont at 2021-06-08T14:36:51+00:00 deinterlace: fail on unknown mode This will allow to try an alternate deinterlace filter (for example an OpenGL filter). - - - - - 4de0b416 by Romain Vimont at 2021-06

[vlc-commits] [Git][videolan/vlc][master] config: remove remaining "advanced" flags

2021-06-06 Thread Romain Vimont
Romain Vimont pushed to branch master at VideoLAN / VLC Commits: 3716a7da by Romain Vimont at 2021-06-06T08:42:50+00:00 config: remove remaining advanced flags The config advanced flag was unused and has been removed by 6a7a137f7b3ce19e25bedf0d2ffc4c6ef9d45121. It has been removed from many

[vlc-commits] [Git][videolan/vlc] Deleted branch glblend

2021-05-03 Thread Romain Vimont
Romain Vimont deleted branch glblend at VideoLAN / VLC -- You're receiving this email because of your account on code.videolan.org. ___ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits

[vlc-commits] [Git][videolan/vlc] Pushed new branch glblend

2021-05-03 Thread Romain Vimont
Romain Vimont pushed new branch glblend at VideoLAN / VLC -- View it on GitLab: https://code.videolan.org/videolan/vlc/-/tree/glblend You're receiving this email because of your account on code.videolan.org. ___ vlc-commits mailing list vlc-commits

[vlc-commits] qt: playlist: use item title if available

2021-04-22 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Apr 20 17:26:28 2021 +0200| [03674aee047f5b9e41d6f267592f79c7790326b1] | committer: Pierre Lamot qt: playlist: use item title if available Use the meta title if it is available, use the item name otherwise. Fixes #25648 Signed-off-by: Pierre Lamot

[vlc-commits] opengl: do not overwrite output size

2021-04-20 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Apr 12 17:58:56 2021 +0200| [f5658601f90d968bb66ab05b64311654e6362bc7] | committer: Alexandre Janniaux opengl: do not overwrite output size The opengl filter output size is provided by the caller. Signed-off-by: Alexandre Janniaux > h

[vlc-commits] video_filter: opengl: fix error handling

2021-04-20 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Apr 12 17:58:57 2021 +0200| [b3edf83f5dfb64546683196e562cd46049a30ce6] | committer: Alexandre Janniaux video_filter: opengl: fix error handling There were 2 problems: - if sys->filters could not be created, then vlc_gl_filters_Delete() was cal

[vlc-commits] opengl: determine shader version dynamically

2021-04-20 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Apr 12 17:58:55 2021 +0200| [199f3812b0c2c19f317df57bf60d3f4cd7b7373a] | committer: Alexandre Janniaux opengl: determine shader version dynamically In the future, we would like OpenGL and OpenGL ES2 versions of a filter to be available without

[vlc-commits] opengl: fix missing flag initialization

2021-04-20 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Apr 12 19:04:14 2021 +0200| [0b339ba2ece3dcb2cb90bce4674af295ccef9540] | committer: Alexandre Janniaux opengl: fix missing flag initialization The flag filter_planes was not explicitly initialized, and non-plane filters assume that it is set to false

[vlc-commits] opengl: explicit texture scaling computation

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:13:59 2021 +0200| [fabba2aab37fe00c4d6e4ef55f806acf3e4d16a6] | committer: Alexandre Janniaux opengl: explicit texture scaling computation In OpenGL, some values of picture planes scaling are hardcoded, and might differ from the values

[vlc-commits] opengl: init swizzle without interop

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:00 2021 +0200| [16e1d9c217b90d2110ac4f6007f53255d731cbdc] | committer: Alexandre Janniaux opengl: init swizzle without interop Swizzle will be necessary even for "direct" samplers (samplers without interop). Signed-off-by:

[vlc-commits] opengl: use main shader for direct samplers

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:02 2021 +0200| [5f1c016c140bddccda78313ca7789ca1d470c016] | committer: Alexandre Janniaux opengl: use main shader for direct samplers A sampler may receive their input picture either: - from an interop, uploading a picture_t - from

[vlc-commits] opengl: add plane filtering to mock filter

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:11 2021 +0200| [7fc162775f88e2c6ebb979fee81e45f5e6266f43] | committer: Alexandre Janniaux opengl: add plane filtering to mock filter This helps for testing plane filtering. Signed-off-by: Alexandre Janniaux > http://git.videolan.

[vlc-commits] opengl: init fragment shader without interop

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:01 2021 +0200| [4afbe81caf2f89e1b44eaae854835dcb2ba5a6b9] | committer: Alexandre Janniaux opengl: init fragment shader without interop This will allow to generate chroma conversion code for "direct" samplers, in order to conv

[vlc-commits] opengl: factorize sampler creation

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:03 2021 +0200| [212307a46a5bf416ea0060c098b8049c99dd41c9] | committer: Alexandre Janniaux opengl: factorize sampler creation Now that both types of samplers (interop and direct) use the same fragment shader code generation, factorize

[vlc-commits] opengl: expose texture sizes in sampler

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:07 2021 +0200| [f41577d4b430ccd9e31840c4145cc8d8fe99e9ec] | committer: Alexandre Janniaux opengl: expose texture sizes in sampler The number of input planes and their sizes might be useful to filters implementation. It could

[vlc-commits] opengl: extract shader extensions

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:06 2021 +0200| [83467d43e60985c7bd6a690040e8c02119f51de6] | committer: Alexandre Janniaux opengl: extract shader extensions Compute the shader extensions in a separate function, to be able to reuse it. Signed-off-by: Alexandre Janniaux

[vlc-commits] opengl: extract sampler and texture lookup names

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:05 2021 +0200| [25979d17b42df49fdcd619a2545fa0d66084d881] | committer: Alexandre Janniaux opengl: extract sampler and texture lookup names The type and function to use depends on the texture target. Extract the mapping to a separate

[vlc-commits] opengl: make direct sampler support multi-texture

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:09 2021 +0200| [f82854e92a3e7255c6f8200d2423749161f92a58] | committer: Alexandre Janniaux opengl: make direct sampler support multi-texture A "direct" sampler (i.e. a sampler without interop) only supported one textur

[vlc-commits] opengl: replace multi-variables by arrays in GLSL

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:04 2021 +0200| [e30540ad72031ae4034249626bfaba15a6400405] | committer: Alexandre Janniaux opengl: replace multi-variables by arrays in GLSL Variables were generated on the fly with an index in the name. For example: uniform

[vlc-commits] opengl: add support for planes filtering

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:10 2021 +0200| [606ece75d5c18ef0739e3c1770d010fd94d086bf] | committer: Alexandre Janniaux opengl: add support for planes filtering If config.filter_planes is set on a filter, generate one output texture for each input texture, and call

[vlc-commits] opengl: add support for plane samplers

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 30 13:14:08 2021 +0200| [820f9d57285e6a40f76ddf44f103f48487acebfb] | committer: Alexandre Janniaux opengl: add support for plane samplers A sampler gives access to the input picture, in RGBA. Add support for giving access to individual input

[vlc-commits] qt: improve right-click volume control

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Apr 7 18:27:04 2021 +0200| [f317d34c902c68c3192a71aba13752888a27c976] | committer: Pierre Lamot qt: improve right-click volume control Right-click allows to set the volume control to predefined steps (0%, 50%, 100% and 125%). However, the last step

[vlc-commits] qt: improve volume slider control

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Apr 7 18:27:06 2021 +0200| [a9bcc2cb04ee38c85d886091c0e03302858ad203] | committer: Pierre Lamot qt: improve volume slider control The slider has some width, which must be taken into account to compute the volume. This avoids to control the left

[vlc-commits] qt: fix volume slider control

2021-04-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Apr 7 18:27:05 2021 +0200| [c3ed0e7a4fc3c517570ba543f0ddcbc98c4ecaa5] | committer: Pierre Lamot qt: fix volume slider control When changing the volume slider with the mouse, the new value considered the width of the complete component instead

[vlc-commits] vlm: remove wrong assertion

2021-04-06 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Sep 15 19:37:35 2020 +0200| [a552809dcecf4ad260f892ec3603414698ad8e30] | committer: Alexandre Janniaux vlm: remove wrong assertion The vlm instance name may be NULL. The documentation (doc/vlm.txt) states that the "instance_name"

[vlc-commits] egl_display: improve support detection

2021-03-30 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Mar 22 16:06:24 2021 +0100| [90a6084eaa9611fdf44c91e6b48a24f2a4c46cd9] | committer: Alexandre Janniaux egl_display: improve support detection A module egl_display must only provide EGL displays where eglTerminate() can be called, even if other

[vlc-commits] egl_pbuffer: use a default EGL display module

2021-03-30 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Mar 22 16:06:21 2021 +0100| [20ee4afcb489af4d155b3b70e2ae328432a82695] | committer: Alexandre Janniaux egl_pbuffer: use a default EGL display module Add a default EGL display module which just calls eglGetDisplay(EGL_DEFAULT_DISPLAY). Signed-off

[vlc-commits] egl_pbuffer: enable if EGL and OpenGL are present

2021-03-30 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Mar 22 16:06:22 2021 +0100| [d947023bd151c19c2f541ff77358825ceeeb94b3] | committer: Alexandre Janniaux egl_pbuffer: enable if EGL and OpenGL are present The filter egl_pbuffer was initially enabled only for Android, because the default display

[vlc-commits] opengl: introduce EGL display module

2021-03-30 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Mar 22 16:06:20 2021 +0100| [b6deb080856dbdea8b0f1e98fd15f626b1a369af] | committer: Alexandre Janniaux opengl: introduce EGL display module Add a new module type "egl display" to open an EGL display. Signed-off-by: Alexandre Janniau

[vlc-commits] egl_pbuffer: remove useless dependency

2021-03-30 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Mar 22 16:06:19 2021 +0100| [318b4418dc2eb195f1549bf6930cf4b04530c03c] | committer: Alexandre Janniaux egl_pbuffer: remove useless dependency The filter egl_pbuffer does not depend on LIBM. Signed-off-by: Alexandre Janniaux > h

[vlc-commits] opengl: use union for on- and off-screen fields

2021-03-22 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Mar 2 09:22:24 2021 +0100| [23f392cb9f657e466b1860f4cfc15c4b294d0f7f] | committer: Alexandre Janniaux opengl: use union for on- and off-screen fields Signed-off-by: Alexandre Janniaux > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commi

[vlc-commits] egl_pbuffer: add missing call to eglTerminate()

2021-03-22 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Mar 22 15:00:05 2021 +0100| [a51ba24aa6b9d5e8864cd6420357091fbd663ed1] | committer: Alexandre Janniaux egl_pbuffer: add missing call to eglTerminate() The function eglInitialize() was called on open, but eglTerminate() was not called on close

[vlc-commits] opengl: fix npot support

2021-03-04 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Thu Mar 4 14:30:23 2021 +0100| [004dde589e39a6bb200feb5062be7c84e8dd106c] | committer: Alexandre Janniaux opengl: fix npot support If npot (non-power-of-two) textures are not supported, then the picture visible dimensions is not the same as the texture

[vlc-commits] opengl: initialize api_type

2021-03-04 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Thu Mar 4 14:30:18 2021 +0100| [bf0160ad6d73dd65d38617934840e0d05c93b540] | committer: Alexandre Janniaux opengl: initialize api_type Contrary to vlc_gl_Create(), vlc_gl_CreateOffscreen() did not initialize gl->api_type, so it was always implicitly

[vlc-commits] opengl: add mock filter

2021-03-01 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Feb 26 18:10:36 2021 +0100| [adc9fd1db771a1ab8cea4ce5402bde9f9d325cb3] | committer: Alexandre Janniaux opengl: add mock filter This mock filter simplifies testing of the OpenGL filter engine. Co-authored-by: Alexandre Janniaux Signed-off

[vlc-commits] opengl: add vflip option to "draw" filter

2021-03-01 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Feb 26 18:10:34 2021 +0100| [6fb0b411682240b741115fad30e2c2301a6577a4] | committer: Alexandre Janniaux opengl: add vflip option to "draw" filter OpenGL renders upside-down. When we retrieve the pixels, we might want the picture in

[vlc-commits] opengl: replace runtime check by assertion

2021-03-01 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Feb 26 18:10:31 2021 +0100| [255ee5ffa75c27dcc78f49c665e40f57d63e6aea] | committer: Alexandre Janniaux opengl: replace runtime check by assertion If vt->GetAttribLocation() returns -1, there is an error in the shader. Signed-off-by: Alexan

[vlc-commits] filter: constify config_chain_t parameter

2021-03-01 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Feb 22 18:00:08 2021 +0100| [c2ad898eae6bf8e324edd178d0b9b39f109623c2] | committer: Alexandre Janniaux filter: constify config_chain_t parameter As explained by 758052fa4434be65ceb0d48db485a9ec80d930c7, a filter does not take ownership

[vlc-commits] qt: medialib: fix compatibility for Qt < 5.15

2021-02-23 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Feb 23 13:16:16 2021 +0100| [8fe56ab52165e52446c7eefd945b0f2a3a819a3c] | committer: Pierre Lamot qt: medialib: fix compatibility for Qt < 5.15 QThreadPool::start() could only be called with a QRunnable before Qt 5.15, not a lambda: https://doc.qt

[vlc-commits] qt: medialib: reload asynchronously

2021-02-23 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Thu Feb 18 17:07:19 2021 +0100| [1aeee76d913f246c1743c32d58cb38831e6d8990] | committer: Pierre Lamot qt: medialib: reload asynchronously On Qt view initialization completed, a medialibrary "reload" is requested. This call, which could ta

[vlc-commits] medialib: use new requestThumbnail() API

2021-01-25 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Jan 5 14:49:46 2021 +0100| [570e30eba13fd7b1ca825c52ae585484dfa48905] | committer: Hugo Beauzée-Luyssen medialib: use new requestThumbnail() API A new medialibrary API has been added to request asynchronous thumbnail generation from a media id

[vlc-commits] medialib: fix initialization

2021-01-25 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 6 12:03:48 2021 +0100| [e00cf4e8c997bed4873a65d7795fd05c2e32770b] | committer: Hugo Beauzée-Luyssen medialib: fix initialization The medialib initialization should be called exactly once. This was implemented by two mechanisms. Firstly, m_ml

[vlc-commits] medialib: improve starting

2021-01-25 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 6 13:45:59 2021 +0100| [4e7a6b4fa982f9737d27b07701758809083682d6] | committer: Hugo Beauzée-Luyssen medialib: improve starting Some controls request to "start" the medialibrary (start to discover some folders) if not already started.

[vlc-commits] medialib: bump contrib & reflect API changes

2021-01-25 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 6 15:15:59 2021 +0100| [1573f2a6edeb4170a6195d83f03975682f41bf01] | committer: Hugo Beauzée-Luyssen medialib: bump contrib & reflect API changes Signed-off-by: Hugo Beauzée-Luyssen > http://git.videolan.org/gitweb.cgi/vlc.git/?a=c

[vlc-commits] medialib: rename medialib.cpp to medialibrary.cpp

2021-01-25 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 6 22:30:50 2021 +0100| [bf5b4537eb194b958b51b77fa81d3cd214792879] | committer: Hugo Beauzée-Luyssen medialib: rename medialib.cpp to medialibrary.cpp The header is called medialibrary.h. Signed-off-by: Hugo Beauzée-Luyssen > h

[vlc-commits] fetcher: fix use-after-free on error

2021-01-25 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Sun Jan 24 18:33:09 2021 +0100| [62233f501867c1a7ab44d923679c01cb56748fd1] | committer: Alexandre Janniaux fetcher: fix use-after-free on error A "goto out;" was left on the error branch, causing the task to be used- after-free. Signed-off-by:

[vlc-commits] android: make AWindowHandler work without AWindow

2021-01-14 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 13 12:07:26 2021 +0100| [f6afcef9dd2c46705058a8473ff0e02b693e0777] | committer: Alexandre Janniaux android: make AWindowHandler work without AWindow AWindowHandler_new() failed if no instance were registered in the VLC variable "dra

[vlc-commits] android: create AWindowHandler without window

2021-01-14 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 13 12:07:22 2021 +0100| [1be235d4c4e663052c32de85b52dc1d6e6667998] | committer: Alexandre Janniaux android: create AWindowHandler without window Accept a null vout_window_t. In the case of a decoder-only AWindowHandler decoder device

[vlc-commits] stream: remove anonymous union

2021-01-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Sat Oct 3 12:04:47 2020 +0200| [f66590a84a673ba0d51901fbed819ad3b7b6fea2] | committer: Thomas Guillem stream: remove anonymous union The two fields of the union have types demux_t and stream_t, which are the same type (demux_t is a typedef of stream_t

[vlc-commits] qt: medialib: add async task handle

2021-01-12 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Jan 6 17:43:46 2021 +0100| [a1f024642ac47e6f03f32e0e9ae3a0cef368b11f] | committer: Pierre Lamot qt: medialib: add async task handle Use a smart pointer to "abandon" an AsyncTask using RAII. This avoids to forget to call abandon()

[vlc-commits] qt: medialib: remove QObject from MLVideo

2021-01-04 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Dec 18 14:53:36 2020 +0100| [fe782ffc856d89bf0248a39e979d89f4ff101155] | committer: Pierre Lamot qt: medialib: remove QObject from MLVideo MLVideo instances are created from a QThreadPool thread. As a consequence, as a QObject, each one live

[vlc-commits] qt: medialib: remove items clone()

2021-01-04 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Dec 18 14:53:34 2020 +0100| [2c4f57a98ce2ede9a3eb9d945c4b4304f905] | committer: Pierre Lamot qt: medialib: remove items clone() List model items are never cloned. Signed-off-by: Pierre Lamot > http://git.videolan.org/gitweb.cgi/vlc.

[vlc-commits] qt: medialib: convert description into Q_GADGET

2021-01-04 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Dec 18 14:53:35 2020 +0100| [ea17ed0b84e2d457aec9de81668a0c4e3b55ec86] | committer: Pierre Lamot qt: medialib: convert description into Q_GADGET VideoDescription and AudioDescription were QObject. To pave the way to remove the QObject inheritance

[vlc-commits] qt: medialib: remove properties from model items

2021-01-04 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Fri Dec 18 14:53:33 2020 +0100| [0a4cacfade252e17b941b32666416f848cb839b6] | committer: Pierre Lamot qt: medialib: remove properties from model items In list models, items properties are accessed via QAbstractItemModel::data(). QObjects themselves

[vlc-commits] network: fix possible buffer overflow

2020-12-15 Thread Romain Vimont
vlc/vlc-3.0 | branch: master | Romain Vimont | Mon Jun 29 14:28:45 2020 +0200| [d9454acb5349957553a1553805be74e690a787b3] | committer: Hugo Beauzée-Luyssen network: fix possible buffer overflow The function vlc_tls_GetLine() forgot to truncate the string if a line sent by the server did

[vlc-commits] network: fix possible buffer overflow

2020-12-15 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Mon Jun 29 14:28:45 2020 +0200| [746bdbb122c05c114b5a0bcb58e8e573964fbdad] | committer: Hugo Beauzée-Luyssen network: fix possible buffer overflow The function vlc_tls_GetLine() forgot to truncate the string if a line sent by the server did not end

[vlc-commits] qt: medialib: merge base list models

2020-12-08 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Nov 25 18:00:35 2020 +0100| [5c7d8711fe22a09afbdcf7e573e735ad7a999fd4] | committer: Pierre Lamot qt: medialib: merge base list models Since Qt signals/slots are incompatible with templates, the base list model was initially split into two parts

[vlc-commits] qt: medialib: do not depend on ListCache header

2020-12-08 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Nov 25 15:47:12 2020 +0100| [a408b11197cab409c8792b3acb12e11b0faed421] | committer: Pierre Lamot qt: medialib: do not depend on ListCache header MLSlidingWindowModel has many subclasses. Since it depended on the ListCache header, every change

[vlc-commits] qt: medialib: move implementation to cpp

2020-12-08 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Nov 25 14:53:26 2020 +0100| [69b13cf026372982b9982e87f4487858c774a8ba] | committer: Pierre Lamot qt: medialib: move implementation to cpp Now that MLSlidingWindowModel is not template anymore, move its implementation to the cpp file. Signed-off

[vlc-commits] qt: medialib: un-templatize MLSlidingWindowModel

2020-12-08 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Wed Nov 25 10:41:57 2020 +0100| [1b186d579ad0e8f7c5f942c109ac7504de7ce74c] | committer: Pierre Lamot qt: medialib: un-templatize MLSlidingWindowModel MLSlidingWindowModel was generic over its item type, and with many non-template subclasses, each

[vlc-commits] qt: medialib: define a super-type for list items

2020-12-08 Thread Romain Vimont
vlc | branch: master | Romain Vimont | Tue Nov 24 15:48:28 2020 +0100| [985b37d0290200d37337fbee0481c6b6d9838288] | committer: Pierre Lamot qt: medialib: define a super-type for list items Concrete medialib item types are defined by the template parameter on MLSlidingWindowModel. Create

  1   2   3   4   5   >