Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b3978506
Commit
b3978506
authored
Jan 06, 2008
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make telx and zvbi module mutual exclusive.
parent
a93168ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
9 deletions
+27
-9
configure.ac
configure.ac
+25
-8
modules/demux/ts.c
modules/demux/ts.c
+2
-1
No files found.
configure.ac
View file @
b3978506
...
@@ -25,7 +25,7 @@ dnl automake behavior, you've likely never heard of maintainer mode, so we
...
@@ -25,7 +25,7 @@ dnl automake behavior, you've likely never heard of maintainer mode, so we
dnl can't expect you to enable it manually.
dnl can't expect you to enable it manually.
AS_IF([test "x${enable_maintainer_mode}" != "xno"],
AS_IF([test "x${enable_maintainer_mode}" != "xno"],
[enable_maintainer_mode="yes"])
[enable_maintainer_mode="yes"])
dnl HA! HA!
dnl HA! HA!
AM_MAINTAINER_MODE
AM_MAINTAINER_MODE
...
@@ -1092,7 +1092,7 @@ dnl default modules
...
@@ -1092,7 +1092,7 @@ dnl default modules
dnl
dnl
VLC_ADD_PLUGINS([dummy logger memcpy])
VLC_ADD_PLUGINS([dummy logger memcpy])
VLC_ADD_PLUGINS([mpgv mpga m4v m4a h264 ps pva avi asf mp4 rawdv nsv real aiff mjpeg demuxdump flac tta])
VLC_ADD_PLUGINS([mpgv mpga m4v m4a h264 ps pva avi asf mp4 rawdv nsv real aiff mjpeg demuxdump flac tta])
VLC_ADD_PLUGINS([cvdsub svcdsub spudec
telx
subsdec dvbsub mpeg_audio lpcm a52 dts cinepak flacdec])
VLC_ADD_PLUGINS([cvdsub svcdsub spudec subsdec dvbsub mpeg_audio lpcm a52 dts cinepak flacdec])
VLC_ADD_PLUGINS([deinterlace invert adjust transform distort motionblur rv32])
VLC_ADD_PLUGINS([deinterlace invert adjust transform distort motionblur rv32])
VLC_ADD_PLUGINS([fixed32tos16 s16tofixed32 u8tofixed32 mono])
VLC_ADD_PLUGINS([fixed32tos16 s16tofixed32 u8tofixed32 mono])
VLC_ADD_PLUGINS([trivial_resampler ugly_resampler])
VLC_ADD_PLUGINS([trivial_resampler ugly_resampler])
...
@@ -3451,19 +3451,36 @@ if test "${enable_x264}" != "no"; then
...
@@ -3451,19 +3451,36 @@ if test "${enable_x264}" != "no"; then
fi
fi
dnl
dnl
dnl Teletext Modules
dnl vbi decoder plugin (using libzbvi)
dnl vbi decoder plugin (using libzbvi)
dnl telx module
dnl uncompatible
dnl
dnl
AC_ARG_ENABLE(zvbi,
AC_ARG_ENABLE(zvbi,
[ --enable-zvbi VBI decoding support with libzvbi (default enabled)])
[ --enable-zvbi VBI (inc. Teletext) decoding support with libzvbi (default enabled)])
if test "${enable_zvbi}" != "no"; then
AC_ARG_ENABLE(telx,
PKG_CHECK_MODULES(ZVBI,
[ --enable-telx, Teletext decoding module (conflicting with zvbi) (default disabled)])
AS_IF( [test "${enable_zvbi}" != "no"],[
AS_IF( [test "${enable_telx}" = "yes"],[
AC_MSG_ERROR([The zvbi and telx modules are uncompatibles. Disable the other if you enable one.])
],[
PKG_CHECK_MODULES(ZVBI,
zvbi-0.2 >= 0.2.25,
zvbi-0.2 >= 0.2.25,
[
[
VLC_ADD_LDFLAGS([zvbi],[$ZVBI_LIBS])
VLC_ADD_LDFLAGS([zvbi],[$ZVBI_LIBS])
VLC_ADD_CFLAGS([zvbi],[$ZVBI_CFLAGS])
VLC_ADD_CFLAGS([zvbi],[$ZVBI_CFLAGS])
VLC_ADD_PLUGINS([zvbi]) ],
VLC_ADD_PLUGINS([zvbi])
[AC_MSG_WARN(ZVBI library not found)])
AC_DEFINE(ZVBI_COMPILED, 1, [Define if the zvbi module is built])
fi
],[
AC_MSG_WARN(ZVBI library not found. Enabling the telx module instead)
enable_telx="yes"
])
])
])
AS_IF( [test "${enable_telx}" = "yes"],[
VLC_ADD_PLUGINS([telx])
])
dnl
dnl
dnl CMML plugin
dnl CMML plugin
...
...
modules/demux/ts.c
View file @
b3978506
...
@@ -1674,9 +1674,10 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
...
@@ -1674,9 +1674,10 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
/* */
/* */
i_skip
+=
2
;
i_skip
+=
2
;
}
}
#ifdef ZVBI_COMPILED
else
if
(
pid
->
es
->
fmt
.
i_codec
==
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
)
)
else
if
(
pid
->
es
->
fmt
.
i_codec
==
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
)
)
i_skip
=
0
;
/* FIXME temporary hack for zvbi support */
i_skip
=
0
;
/* FIXME temporary hack for zvbi support */
#endif
/* skip header */
/* skip header */
while
(
p_pes
&&
i_skip
>
0
)
while
(
p_pes
&&
i_skip
>
0
)
{
{
...
...
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