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
bbb0de54
Commit
bbb0de54
authored
May 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ffmpeg when !ENABLE_SOUT
parent
c1c55327
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
modules/codec/ffmpeg/Modules.am
modules/codec/ffmpeg/Modules.am
+10
-2
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+6
-0
No files found.
modules/codec/ffmpeg/Modules.am
View file @
bbb0de54
...
@@ -6,12 +6,20 @@ SOURCES_ffmpeg = \
...
@@ -6,12 +6,20 @@ SOURCES_ffmpeg = \
video_filter.c \
video_filter.c \
deinterlace.c \
deinterlace.c \
chroma.c \
chroma.c \
encoder.c \
postprocess.c \
postprocess.c \
demux.c \
demux.c \
mux.c \
scale.c \
scale.c \
$(NULL)
$(NULL)
EXTRA_libffmpeg_plugin_la_SOURCES = \
mux.c \
encoder.c \
$(NULL)
if ENABLE_SOUT
SOURCES_ffmpeg += mux.c encoder.c
endif
libvlc_LTLIBRARIES += $(LTLIBffmpeg)
EXTRA_LTLIBRARIES += libffmpeg_plugin.la
SOURCES_ffmpegaltivec = \
SOURCES_ffmpegaltivec = \
ffmpeg.c \
ffmpeg.c \
...
...
modules/codec/ffmpeg/ffmpeg.c
View file @
bbb0de54
...
@@ -73,8 +73,10 @@ static int nloopf_list[] = { 0, 1, 2, 3, 4 };
...
@@ -73,8 +73,10 @@ static int nloopf_list[] = { 0, 1, 2, 3, 4 };
static
const
char
*
nloopf_list_text
[]
=
static
const
char
*
nloopf_list_text
[]
=
{
N_
(
"None"
),
N_
(
"Non-ref"
),
N_
(
"Bidir"
),
N_
(
"Non-key"
),
N_
(
"All"
)
};
{
N_
(
"None"
),
N_
(
"Non-ref"
),
N_
(
"Bidir"
),
N_
(
"Non-key"
),
N_
(
"All"
)
};
#ifdef ENABLE_SOUT
static
const
char
*
enc_hq_list
[]
=
{
"rd"
,
"bits"
,
"simple"
};
static
const
char
*
enc_hq_list
[]
=
{
"rd"
,
"bits"
,
"simple"
};
static
const
char
*
enc_hq_list_text
[]
=
{
N_
(
"rd"
),
N_
(
"bits"
),
N_
(
"simple"
)
};
static
const
char
*
enc_hq_list_text
[]
=
{
N_
(
"rd"
),
N_
(
"bits"
),
N_
(
"simple"
)
};
#endif
#if defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)
#if defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)
static
int
pi_mode_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
int
pi_mode_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
...
@@ -139,6 +141,7 @@ vlc_module_begin();
...
@@ -139,6 +141,7 @@ vlc_module_begin();
add_integer
(
"ffmpeg-debug"
,
0
,
NULL
,
DEBUG_TEXT
,
DEBUG_LONGTEXT
,
add_integer
(
"ffmpeg-debug"
,
0
,
NULL
,
DEBUG_TEXT
,
DEBUG_LONGTEXT
,
true
);
true
);
#ifdef ENABLE_SOUT
/* encoder submodule */
/* encoder submodule */
add_submodule
();
add_submodule
();
set_section
(
N_
(
"Encoding"
)
,
NULL
);
set_section
(
N_
(
"Encoding"
)
,
NULL
);
...
@@ -203,6 +206,7 @@ vlc_module_begin();
...
@@ -203,6 +206,7 @@ vlc_module_begin();
add_string
(
ENC_CFG_PREFIX
"aac-profile"
,
"main"
,
NULL
,
add_string
(
ENC_CFG_PREFIX
"aac-profile"
,
"main"
,
NULL
,
ENC_PROFILE_TEXT
,
ENC_PROFILE_LONGTEXT
,
true
);
ENC_PROFILE_TEXT
,
ENC_PROFILE_LONGTEXT
,
true
);
#endif
#endif
#endif
/* ENABLE_SOUT */
#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE)
#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE)
...
@@ -212,6 +216,7 @@ vlc_module_begin();
...
@@ -212,6 +216,7 @@ vlc_module_begin();
set_capability
(
"demux"
,
2
);
set_capability
(
"demux"
,
2
);
set_callbacks
(
E_
(
OpenDemux
),
E_
(
CloseDemux
)
);
set_callbacks
(
E_
(
OpenDemux
),
E_
(
CloseDemux
)
);
#ifdef ENABLE_SOUT
/* mux submodule */
/* mux submodule */
add_submodule
();
add_submodule
();
set_description
(
_
(
"FFmpeg muxer"
)
);
set_description
(
_
(
"FFmpeg muxer"
)
);
...
@@ -220,6 +225,7 @@ vlc_module_begin();
...
@@ -220,6 +225,7 @@ vlc_module_begin();
MUX_LONGTEXT
,
true
);
MUX_LONGTEXT
,
true
);
set_callbacks
(
E_
(
OpenMux
),
E_
(
CloseMux
)
);
set_callbacks
(
E_
(
OpenMux
),
E_
(
CloseMux
)
);
#endif
#endif
#endif
#if defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)
#if defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)
/* video filter submodule */
/* video filter submodule */
...
...
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