demux: heif: send extradata with avif
[vlc.git] / modules / video_output / wdummy.c
blobc69b28f84044f47d839da313e27f0c697786611d
1 /**
2 * @file wdummy.c
3 * @brief Dummy video window provider for legacy video plugins
4 */
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 *****************************************************************************/
23 #ifdef HAVE_CONFIG_H
24 # include <config.h>
25 #endif
27 #include <stdarg.h>
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;
40 wnd->ops = &ops;
41 return VLC_SUCCESS;
44 vlc_module_begin()
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)
51 add_shortcut("dummy")
52 vlc_module_end()