[vlc-commits] mmal: converter: no need to intialize the vcsm anymore

Steve Lhomme git at videolan.org
Fri Jan 24 14:15:43 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jan 24 11:32:45 2020 +0100| [49b576b8d167e452038ba7383a436cad8bf11a7a] | committer: Steve Lhomme

mmal: converter: no need to intialize the vcsm anymore

It's done in the decoder device we keep during the whole lifetime of the
filter (and the pictures that will be pushed).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49b576b8d167e452038ba7383a436cad8bf11a7a
---

 modules/hw/mmal/converter.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/hw/mmal/converter.c b/modules/hw/mmal/converter.c
index ffce6e00a7..a235190581 100644
--- a/modules/hw/mmal/converter.c
+++ b/modules/hw/mmal/converter.c
@@ -136,7 +136,6 @@ typedef struct
     } slice;
 
     vlc_decoder_device *dec_dev;
-    vcsm_init_type_t vcsm_init_type;
 } converter_sys_t;
 
 
@@ -704,7 +703,6 @@ void CloseConverter(vlc_object_t * obj)
 
     if (sys->dec_dev)
         vlc_decoder_device_Release(sys->dec_dev);
-    cma_vcsm_exit(sys->vcsm_init_type);
 
     vlc_sem_destroy(&sys->sem);
     vlc_mutex_destroy(&sys->lock);
@@ -808,11 +806,6 @@ retry:
         goto fail;
     }
 
-    if ((sys->vcsm_init_type = cma_vcsm_init()) == VCSM_INIT_NONE) {
-        msg_Err(p_filter, "VCSM init failed");
-        goto fail;
-    }
-
     if (use_resizer) {
         sys->resizer_type = FILTER_RESIZER_RESIZER;
         sys->is_sliced = true;



More information about the vlc-commits mailing list