[vlc-commits] Used vlc_custom_create() to create vout_display_t objects.
Laurent Aimar
git at videolan.org
Thu Jun 2 19:15:33 CEST 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Jun 2 19:14:10 2011 +0200| [480800a00c825262fbe5f0572e0237427dce20d6] | committer: Laurent Aimar
Used vlc_custom_create() to create vout_display_t objects.
It allows to give them a category (vout display).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=480800a00c825262fbe5f0572e0237427dce20d6
---
src/video_output/display.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 0d36a38..4260d29 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -100,7 +100,8 @@ static vout_display_t *vout_display_New(vlc_object_t *obj,
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);
More information about the vlc-commits
mailing list