X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fvlc_filter.h;h=a4daadbbfaee56c7de84ef4a38fd8be5b11019a6;hb=9cc1a264eb9e06c9a1be22a7b4afcef56f7c37c8;hp=26d8ee0b15eb8c668e620136b7a22ac922c35037;hpb=a504fae36cad1af4fc65f9829cedd892da262ed7;p=vlc diff --git a/include/vlc_filter.h b/include/vlc_filter.h index 26d8ee0b15..a4daadbbfa 100644 --- a/include/vlc_filter.h +++ b/include/vlc_filter.h @@ -37,6 +37,12 @@ typedef struct filter_owner_sys_t filter_owner_sys_t; * * @{ */ + +/* + * BIG FAT WARNING : the code relies in the first 4 members of filter_t + * and decoder_t to be the same, so if you have anything to add, do it + * at the end of the structure. + */ struct filter_t { VLC_COMMON_MEMBERS @@ -51,6 +57,9 @@ struct filter_t /* Output format of filter */ es_format_t fmt_out; + /* Filter configuration */ + sout_cfg_t * p_cfg; + picture_t * ( * pf_video_filter ) ( filter_t *, picture_t * ); block_t * ( * pf_audio_filter ) ( filter_t *, block_t * ); void ( * pf_video_blend ) ( filter_t *, picture_t *,