[vlc-commits] [Git][videolan/vlc][master] omxil: unbreak build (fixes #26458)
Rémi Denis-Courmont (@Courmisch)
gitlab at videolan.org
Sat Jan 8 17:47:27 UTC 2022
Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
61314e52 by Rémi Denis-Courmont at 2022-01-08T17:29:38+00:00
omxil: unbreak build (fixes #26458)
- - - - -
1 changed file:
- modules/codec/omxil/omxil.c
Changes:
=====================================
modules/codec/omxil/omxil.c
=====================================
@@ -98,7 +98,7 @@ vlc_module_begin ()
set_section( N_("Encoding") , NULL )
set_description( N_("Video encoder (using OpenMAX IL)") )
set_capability( "video encoder", 0 )
- set_callbacks( OpenEncoder )
+ set_callback( OpenEncoder )
vlc_module_end ()
/*****************************************************************************
@@ -896,7 +896,9 @@ static int OpenDecoder( vlc_object_t *p_this )
}
static void CloseEncoder( encoder_t *p_enc )
- { CloseGeneric( p_enc ); }
+{
+ CloseGeneric( VLC_OBJECT(p_enc) );
+}
/*****************************************************************************
* OpenEncoder: Create the encoder instance
@@ -916,7 +918,7 @@ static int OpenEncoder( vlc_object_t *p_this )
{
.close = CloseEncoder,
.encode_video = EncodeVideo,
- }
+ };
p_enc->ops = &ops;
return VLC_SUCCESS;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/61314e523c599a968eddea515fcab32a74bd0a51
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/61314e523c599a968eddea515fcab32a74bd0a51
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list