From: Laurent Aimar Date: Sun, 21 Sep 2008 11:26:21 +0000 (+0200) Subject: Privatized SUBPICTURE_RENDERED. X-Git-Tag: 1.0.0-pre1~3009 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9c5ebdcdce400c4a2a93a1b9ac8845e882949003;p=vlc Privatized SUBPICTURE_RENDERED. --- diff --git a/include/vlc_vout.h b/include/vlc_vout.h index 8920930bff..277afa4200 100644 --- a/include/vlc_vout.h +++ b/include/vlc_vout.h @@ -415,9 +415,6 @@ struct subpicture_t #define SUBPICTURE_ALIGN_MASK ( SUBPICTURE_ALIGN_LEFT|SUBPICTURE_ALIGN_RIGHT| \ SUBPICTURE_ALIGN_TOP |SUBPICTURE_ALIGN_BOTTOM ) -/* Subpicture rendered flag - should only be used by vout_subpictures */ -#define SUBPICTURE_RENDERED 0x10 - /***************************************************************************** * Prototypes *****************************************************************************/ diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c index e1ec4dcd35..fa7fdd7174 100644 --- a/src/video_output/vout_subpictures.c +++ b/src/video_output/vout_subpictures.c @@ -91,6 +91,13 @@ struct subpicture_region_private_t picture_t *p_picture; }; +/* Subpicture rendered flag + * FIXME ? it could be moved to private ? */ +#define SUBPICTURE_RENDERED (0x1000) +#ifdef SUBPICTURE_RENDERED < SUBPICTURE_ALIGN_MASK +# error SUBPICTURE_RENDERED too low +#endif + static void SpuRegionPrivateDestroy( subpicture_region_private_t *p_private ); static void UpdateSPU ( spu_t *, vlc_object_t * );