Commit 480800a0 authored by Laurent Aimar's avatar Laurent Aimar

Used vlc_custom_create() to create vout_display_t objects.

It allows to give them a category (vout display).
parent 55f46a92
...@@ -100,7 +100,8 @@ static vout_display_t *vout_display_New(vlc_object_t *obj, ...@@ -100,7 +100,8 @@ static vout_display_t *vout_display_New(vlc_object_t *obj,
vout_display_owner_t *owner) vout_display_owner_t *owner)
{ {
/* */ /* */
vout_display_t *vd = vlc_object_create(obj, sizeof(*vd)); vout_display_t *vd = vlc_custom_create(obj, sizeof(*vd),
VLC_OBJECT_GENERIC, "vout display");
/* */ /* */
video_format_Copy(&vd->source, fmt); video_format_Copy(&vd->source, fmt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment