[vlc-commits] [Git][videolan/vlc][master] display: rename VoutDisplayCreateRender() to VoutConverterCreate()
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Dec 2 14:14:31 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e48a61a6 by Steve Lhomme at 2025-12-02T13:51:53+00:00
display: rename VoutDisplayCreateRender() to VoutConverterCreate()
The function only deals with converters.
This is the counterpart of VoutConverterRelease().
- - - - -
1 changed file:
- src/video_output/display.c
Changes:
=====================================
src/video_output/display.c
=====================================
@@ -357,7 +357,7 @@ static struct pooled_filter_chain *VoutSetupConverter(vlc_object_t *o,
return conv;
}
-static int VoutDisplayCreateRender(vout_display_t *vd)
+static int VoutConverterCreate(vout_display_t *vd)
{
vout_display_priv_t *osys = container_of(vd, vout_display_priv_t, display);
filter_owner_t owner = {
@@ -455,7 +455,7 @@ static void vout_display_Reset(vout_display_t *vd)
assert(vd->ops->reset_pictures);
if (vd->ops->reset_pictures(vd, &osys->display_fmt) != VLC_SUCCESS
- || VoutDisplayCreateRender(vd))
+ || VoutConverterCreate(vd) != VLC_SUCCESS)
msg_Err(vd, "Failed to adjust render format");
}
@@ -875,7 +875,7 @@ vout_display_t *vout_display_New(vlc_object_t *parent,
int ret = cb(vd, &osys->display_fmt, vctx);
if (ret == VLC_SUCCESS) {
assert(vd->ops->prepare != NULL || vd->ops->display != NULL);
- if (VoutDisplayCreateRender(vd) == 0) {
+ if (VoutConverterCreate(vd) == VLC_SUCCESS) {
msg_Dbg(vd, "using %s module \"%s\"", "vout display",
module_get_object(mods[i]));
free(mods);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e48a61a6fb74322db8e841a8321bff298f00a0bf
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e48a61a6fb74322db8e841a8321bff298f00a0bf
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list