[vlc-commits] [Git][videolan/vlc][master] decoder: set a name for the decoder device object

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Sat Mar 5 18:55:03 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
801529c6 by Steve Lhomme at 2022-03-05T18:01:20+00:00
decoder: set a name for the decoder device object

It's better for debugging than "generic".

- - - - -


1 changed file:

- src/input/decoder_helpers.c


Changes:

=====================================
src/input/decoder_helpers.c
=====================================
@@ -181,7 +181,7 @@ vlc_decoder_device *
 vlc_decoder_device_Create(vlc_object_t *o, vout_window_t *window)
 {
     struct vlc_decoder_device_priv *priv =
-            vlc_object_create(o, sizeof (*priv));
+            vlc_custom_create(o, sizeof (*priv), "decoder device");
     if (!priv)
         return NULL;
     char *name = var_InheritString(o, "dec-dev");



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/801529c641446c857e87c2d7db6a7ff79cad631b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/801529c641446c857e87c2d7db6a7ff79cad631b
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