3 * @brief Dummy video window provider for legacy video plugins
5 /*****************************************************************************
6 * Copyright © 2009, 2018 Rémi Denis-Courmont
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
29 #include <vlc_common.h>
30 #include <vlc_plugin.h>
31 #include <vlc_vout_window.h>
33 static const struct vout_window_operations ops
= {
34 .resize
= vout_window_ReportSize
,
37 static int Open(vout_window_t
*wnd
)
39 wnd
->type
= VOUT_WINDOW_TYPE_DUMMY
;
45 set_shortname(N_("Dummy window"))
46 set_description(N_("Dummy window"))
47 set_category(CAT_VIDEO
)
48 set_subcategory(SUBCAT_VIDEO_VOUT
)
49 set_capability("vout window", 1)
50 set_callbacks(Open
, NULL
)