X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_filter%2Fmosaic.h;h=edfc66388752899b19fa94ca76ec99956bab67e4;hb=5d313c65e44d8963262fdbc5d5d52f5169f3f787;hp=ac8107c66cdfcf0399d519d6f009329885f1f28b;hpb=4855a76128089e15454b0506b149b7d9540127bb;p=vlc diff --git a/modules/video_filter/mosaic.h b/modules/video_filter/mosaic.h index ac8107c66c..edfc663887 100644 --- a/modules/video_filter/mosaic.h +++ b/modules/video_filter/mosaic.h @@ -1,7 +1,7 @@ /***************************************************************************** * mosaic.h: ***************************************************************************** - * Copyright (C) 2004-2005 the VideoLAN team + * Copyright (C) 2004-2008 the VideoLAN team * $Id$ * * Authors: Antoine Cellerier @@ -27,8 +27,12 @@ typedef struct bridged_es_t es_format_t fmt; picture_t *p_picture; picture_t **pp_last; - vlc_bool_t b_empty; + bool b_empty; char *psz_id; + + int i_alpha; + int i_x; + int i_y; } bridged_es_t; typedef struct bridge_t @@ -40,19 +44,16 @@ typedef struct bridge_t #define GetBridge(a) __GetBridge( VLC_OBJECT(a) ) static bridge_t *__GetBridge( vlc_object_t *p_object ) { - vlc_object_t *p_libvlc = p_object->p_libvlc; - bridge_t *p_bridge; + vlc_object_t *p_libvlc = VLC_OBJECT( p_object->p_libvlc ); vlc_value_t val; if( var_Get( p_libvlc, "mosaic-struct", &val ) != VLC_SUCCESS ) { - p_bridge = NULL; + return NULL; } else { - p_bridge = val.p_address; + return val.p_address; } - - return p_bridge; }