- Jul 14, 2021
-
-
This fixes building with the very latest nightly version of mingw-w64. In https://github.com/mingw-w64/mingw-w64/commit/7fb7c9f6e401e2bc4393e61a27a68ebccffa1195, the MFVideoFormat_L8 mediatype GUID was added, conflicting with our own definition with the same name.
-
The callbacks needed to be defined with the correct order and without oversight since C++14 doesn't support designated initializer. But vlc_player and playlist callbacks are all optional and there's no point in having such constraint for C++ code. Use a static lambda initializer with an initial zero-initializer to circumvent this limitation.
-
The callbacks needed to be defined with the correct order and without oversight since C++14 doesn't support designated initializer. But vlc+playlist callbacks are all optional and there's no point in having such constraint for C++ code. Use a static lambda initializer with an initial zero-initializer to circumvent this limitation.
-
The callbacks needed to be defined with the correct order and without oversight since C++14 doesn't support designated initializer. But vlc+playlist callbacks are all optional and there's no point in having such constraint for C++ code. Use a static lambda initializer with an initial zero-initializer to circumvent this limitation.
-
The callbacks needed to be defined with the correct order and without oversight since C++14 doesn't support designated initializer. But vlc_player callbacks are all optional and there's no point in having such constraint for C++ code. Use a static lambda initializer with an initial zero-initializer to circumvent this limitation.
-
A variable "vout" was an alias for "sys" to avoid renames.
-
The picture_t was released implicitly from vout_dispay_Display(). If the caller explicitly wants to check if the display callback is NULL for other reasons, they might be tempted to avoid calling vout_display_Display() at all, which would leak the picture.
-
Rémi Denis-Courmont authored
We don't need 4 different codes for essentially the same thing, which is that a certain thing could not be found.
-
Rémi Denis-Courmont authored
...when failing to instantiate an object.
-
Rémi Denis-Courmont authored
VLC_ENO* means that something cannot be found (usually by name/ID). VLC_EINVAL means that a parameter value is invalid.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
Better than VLC_EGENERIC when something is understood to be unsupported on the local system.
-
Rémi Denis-Courmont authored
EACCES means that an operation is not possible in the current state. This is not to be confused with EPERM meaning that the user does not have the necessary credentials. Also compare HTTP results 401 and 403. Also compare with EINVAL (VLC_EBARVAR) meaning that operating is not possible because the value of a parameter is invalid.
-
-
-
-
- Jul 13, 2021
-
-
Lyndon Brown authored
-
-
Rémi Denis-Courmont authored
-
It's always set in vd->cfg->window
-
-
It's already in vd->cfg.
-
It's already in vd->cfg and cannot change without a call to VOUT_DISPLAY_CHANGE_DISPLAY_SIZE. The value in vd->cfg during Prepare is always the correct one.
-
It is not and should not be modified.
-
-
-
- Jul 12, 2021
-
-
-
Thomas Guillem authored
Contrary to all other hardware decoders, vaapi can't work with a hwaccel_context anymore. It requires a hw_device_ctx or a hw_frames_ctx to work. This first implementation use a hw_device_ctx and let avcodec handle its frames pool. It is also possible to handle hw_frames_ctx ourself to get more controls. Note: Most of the code could be reused by other va modules if we decide to a hw_device_ctx. Fixes #25707
-
Thomas Guillem authored
-
Thomas Guillem authored
The future vaapi va module will create AVFrame from hwframes_ctx with a frame->buf[0] set internally by avcodec. If this is the case, don't override it and use opaque_ref (an user field) to keep the reference on the VLC picture_t.
-
Thomas Guillem authored
frame->buf[0] must be valid but doesn't have to contain data since the data will be accessed via frame->data[] directly. Furthermore, all va modules are only setting frame->data[3], therefore, frame->data[0] was always NULL.
-
Thomas Guillem authored
Provide the AVCodecContext and the full AVFrame. It will be used by the new vaapi va module.
-
Steve Lhomme authored
It's already set as a read-only pointer in vd->cfg before calling Open().
-
Steve Lhomme authored
This allows using COM helpers and shorter API calls. It's already built with C++ from the sensor and DirectComposition handlers.
-
Steve Lhomme authored
-
Steve Lhomme authored
This is a C99 thing.
-
- Jul 11, 2021
-
-
qmlRegisterUncreatableType already registers the type to the meta object system.
-
-
this change allows selectedProfileControlListChanged signal to be emitted after the initial reload happens.
-
With Qt 5.0, a new syntax for signal/slot handling was introduced. This patch updates the related function call that tests if the signal is connected to its Qt 5 way of doing.
-