Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
5c385e6f
Commit
5c385e6f
authored
Aug 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move and split dummy encoder
parent
329be451
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
12 deletions
+19
-12
modules/LIST
modules/LIST
+1
-0
modules/codec/Modules.am
modules/codec/Modules.am
+2
-0
modules/codec/edummy.c
modules/codec/edummy.c
+15
-3
modules/misc/dummy/Modules.am
modules/misc/dummy/Modules.am
+0
-1
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+0
-4
modules/misc/dummy/dummy.h
modules/misc/dummy/dummy.h
+0
-3
po/POTFILES.in
po/POTFILES.in
+1
-1
No files found.
modules/LIST
View file @
5c385e6f
...
...
@@ -112,6 +112,7 @@ $Id$
* dvdnav: access module for DVDs with libdvdnav
* dvdread: input module for accessing DVDs, uses libdvdread
* dynamicoverlay: subpicture filter using shared memory that can be written to by external applications
* edummy: dummy encoder
* egl: EGL video output
* equalizer: a equalizer audio filter
* erase: Logo erase video filter
...
...
modules/codec/Modules.am
View file @
5c385e6f
...
...
@@ -39,6 +39,7 @@ SOURCES_t140 = t140.c
SOURCES_crystalhd = crystalhd.c
SOURCES_stl = stl.c
SOURCES_ddummy = ddummy.c
SOURCES_edummy = edummy.c
libvlc_LTLIBRARIES += \
liba52_plugin.la \
...
...
@@ -51,6 +52,7 @@ libvlc_LTLIBRARIES += \
libddummy_plugin.la \
libdts_plugin.la \
libdvbsub_plugin.la \
libedummy_plugin.la \
liblpcm_plugin.la \
libmpeg_audio_plugin.la \
librawvideo_plugin.la \
...
...
modules/
misc/dummy/encoder
.c
→
modules/
codec/edummy
.c
View file @
5c385e6f
...
...
@@ -29,8 +29,20 @@
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_codec.h>
#include "dummy.h"
static
int
OpenEncoder
(
vlc_object_t
*
);
static
void
CloseEncoder
(
vlc_object_t
*
);
vlc_module_begin
()
set_shortname
(
N_
(
"Dummy"
)
)
set_description
(
N_
(
"Dummy encoder"
)
)
set_capability
(
"encoder"
,
0
)
set_callbacks
(
OpenEncoder
,
CloseEncoder
)
add_shortcut
(
"dummy"
)
vlc_module_end
()
/*****************************************************************************
* Local prototypes
...
...
@@ -41,7 +53,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, aout_buffer_t *p_buf );
/*****************************************************************************
* OpenDecoder: open the dummy encoder.
*****************************************************************************/
int
OpenEncoder
(
vlc_object_t
*
p_this
)
static
int
OpenEncoder
(
vlc_object_t
*
p_this
)
{
encoder_t
*
p_enc
=
(
encoder_t
*
)
p_this
;
...
...
@@ -72,7 +84,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, aout_buffer_t *p_buf )
/*****************************************************************************
* CloseDecoder: decoder destruction
*****************************************************************************/
void
CloseEncoder
(
vlc_object_t
*
p_this
)
static
void
CloseEncoder
(
vlc_object_t
*
p_this
)
{
VLC_UNUSED
(
p_this
);
}
modules/misc/dummy/Modules.am
View file @
5c385e6f
...
...
@@ -2,7 +2,6 @@ SOURCES_dummy = \
dummy.c \
dummy.h \
interface.c \
encoder.c \
renderer.c \
$(NULL)
...
...
modules/misc/dummy/dummy.c
View file @
5c385e6f
...
...
@@ -58,10 +58,6 @@ vlc_module_begin ()
add_category_hint
(
N_
(
"Interface"
),
NULL
,
false
)
add_bool
(
"dummy-quiet"
,
false
,
QUIET_TEXT
,
QUIET_LONGTEXT
,
false
)
#endif
add_submodule
()
set_description
(
N_
(
"Dummy encoder function"
)
)
set_capability
(
"encoder"
,
0
)
set_callbacks
(
OpenEncoder
,
CloseEncoder
)
add_submodule
()
set_description
(
N_
(
"Dummy font renderer function"
)
)
set_capability
(
"text renderer"
,
1
)
...
...
modules/misc/dummy/dummy.h
View file @
5c385e6f
...
...
@@ -26,7 +26,4 @@
*****************************************************************************/
int
OpenIntf
(
vlc_object_t
*
);
int
OpenEncoder
(
vlc_object_t
*
);
void
CloseEncoder
(
vlc_object_t
*
);
int
OpenRenderer
(
vlc_object_t
*
);
po/POTFILES.in
View file @
5c385e6f
...
...
@@ -352,6 +352,7 @@ modules/codec/dmo/dmo.c
modules/codec/dmo/dmo.h
modules/codec/dts.c
modules/codec/dvbsub.c
modules/codec/edummy.c
modules/codec/faad.c
modules/codec/flac.c
modules/codec/fluidsynth.c
...
...
@@ -911,7 +912,6 @@ modules/misc/audioscrobbler.c
modules/misc/dhparams.h
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.h
modules/misc/dummy/encoder.c
modules/misc/dummy/interface.c
modules/misc/dummy/renderer.c
modules/misc/gnutls.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