Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
129e4b22
Commit
129e4b22
authored
Aug 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move and split dummy interface
parent
5c8fd676
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
58 deletions
+30
-58
modules/LIST
modules/LIST
+1
-1
modules/control/Modules.am
modules/control/Modules.am
+2
-0
modules/control/dummy.c
modules/control/dummy.c
+22
-2
modules/misc/dummy/Modules.am
modules/misc/dummy/Modules.am
+0
-2
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+4
-24
modules/misc/dummy/dummy.h
modules/misc/dummy/dummy.h
+0
-27
po/POTFILES.in
po/POTFILES.in
+1
-2
No files found.
modules/LIST
View file @
129e4b22
...
...
@@ -106,7 +106,7 @@ $Id$
* dtstofloat32: DTS Audio converter
* dtstospdif: Audio converter that encapsulates DTS into S/PDIF
* dtv: DVB support (superseds bda module for Windows)
* dummy: dummy
audio output, video output, interface and input modules
* dummy: dummy
interface
* dvb: input module for DVB-S/C/T streaming using v4l2 API
* dvbsub: decoder module for subs in dvb streams
* dvdnav: access module for DVDs with libdvdnav
...
...
modules/control/Modules.am
View file @
129e4b22
SUBDIRS = globalhotkeys dbus
SOURCES_dummy = dummy.c
SOURCES_gestures = gestures.c
SOURCES_netsync = netsync.c
SOURCES_ntservice = ntservice.c
...
...
@@ -16,6 +17,7 @@ SOURCES_motion = \
$(NULL)
libvlc_LTLIBRARIES += \
libdummy_plugin.la \
libgestures_plugin.la \
libnetsync_plugin.la \
libhotkeys_plugin.la
...
...
modules/
misc/dummy/interface
.c
→
modules/
control/dummy
.c
View file @
129e4b22
...
...
@@ -30,14 +30,34 @@
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
#include "dummy.h"
#ifdef WIN32
#define QUIET_TEXT N_("Do not open a DOS command box interface")
#define QUIET_LONGTEXT N_( \
"By default the dummy interface plugin will start a DOS command box. " \
"Enabling the quiet mode will not bring this command box but can also " \
"be pretty annoying when you want to stop VLC and no video window is " \
"open." )
#endif
static
int
Open
(
vlc_object_t
*
);
vlc_module_begin
()
set_shortname
(
N_
(
"Dummy"
)
)
set_description
(
N_
(
"Dummy interface"
)
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open
,
NULL
)
#ifdef WIN32
add_bool
(
"dummy-quiet"
,
false
,
QUIET_TEXT
,
QUIET_LONGTEXT
,
false
)
#endif
vlc_module_end
()
/*****************************************************************************
* Open: initialize dummy interface
*****************************************************************************/
int
OpenIntf
(
vlc_object_t
*
p_this
)
static
int
Open
(
vlc_object_t
*
p_this
)
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_this
;
...
...
modules/misc/dummy/Modules.am
View file @
129e4b22
SOURCES_dummy = \
dummy.c \
dummy.h \
interface.c \
$(NULL)
libvlc_LTLIBRARIES += libdummy_plugin.la
modules/misc/dummy/dummy.c
View file @
129e4b22
...
...
@@ -32,37 +32,17 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include "dummy.h"
static
int
OpenDummy
(
vlc_object_t
*
);
/*****************************************************************************
* Module descriptor
*****************************************************************************/
#ifdef WIN32
#define QUIET_TEXT N_("Do not open a DOS command box interface")
#define QUIET_LONGTEXT N_( \
"By default the dummy interface plugin will start a DOS command box. " \
"Enabling the quiet mode will not bring this command box but can also " \
"be pretty annoying when you want to stop VLC and no video window is " \
"open." )
#endif
vlc_module_begin
()
set_shortname
(
N_
(
"Dummy"
))
set_description
(
N_
(
"Dummy interface function"
)
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
OpenIntf
,
NULL
)
#ifdef WIN32
set_section
(
N_
(
"Dummy Interface"
),
NULL
)
add_category_hint
(
N_
(
"Interface"
),
NULL
,
false
)
add_bool
(
"dummy-quiet"
,
false
,
QUIET_TEXT
,
QUIET_LONGTEXT
,
false
)
#endif
add_submodule
()
set_description
(
N_
(
"libc memcpy"
)
)
set_capability
(
"memcpy"
,
50
)
set_callbacks
(
OpenDummy
,
NULL
)
add_shortcut
(
"c"
,
"libc"
)
set_description
(
N_
(
"libc memcpy"
)
)
set_capability
(
"memcpy"
,
50
)
set_callbacks
(
OpenDummy
,
NULL
)
add_shortcut
(
"c"
,
"libc"
)
vlc_module_end
()
static
int
OpenDummy
(
vlc_object_t
*
obj
)
...
...
modules/misc/dummy/dummy.h
deleted
100644 → 0
View file @
5c8fd676
/*****************************************************************************
* dummy.h : dummy plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002 the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
* External prototypes
*****************************************************************************/
int
OpenIntf
(
vlc_object_t
*
);
po/POTFILES.in
View file @
129e4b22
...
...
@@ -397,6 +397,7 @@ modules/control/dbus/dbus_root.c
modules/control/dbus/dbus_root.h
modules/control/dbus/dbus_tracklist.c
modules/control/dbus/dbus_tracklist.h
modules/control/dummy.c
modules/control/gestures.c
modules/control/globalhotkeys/win32.c
modules/control/globalhotkeys/xcb.c
...
...
@@ -911,8 +912,6 @@ modules/meta_engine/taglib.cpp
modules/misc/audioscrobbler.c
modules/misc/dhparams.h
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.h
modules/misc/dummy/interface.c
modules/misc/gnutls.c
modules/misc/inhibit.c
modules/misc/inhibit/osso.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment