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
4e12f06b
Commit
4e12f06b
authored
Sep 19, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/mux/mpeg/ts.c: Detect older versions of libdvbpsi.
parent
c5c70b25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
configure.ac
configure.ac
+5
-1
doc/fortunes.txt
doc/fortunes.txt
+18
-0
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+10
-0
No files found.
configure.ac
View file @
4e12f06b
...
...
@@ -1659,6 +1659,10 @@ then
CPPFLAGS="${CPPFLAGS_save}"
;;
esac
AC_CHECK_LIB(dvbpsi, dvbpsi_GenSDTSections, [
AC_DEFINE(HAVE_DVBPSI_SDT, 1, [Define if you have dvbpsi_GenSDTSections.])
], [], [${LDFLAGS_ts}])
fi
dnl
...
...
@@ -1704,7 +1708,7 @@ then
VLC_ADD_CPPFLAGS([access_gnomevfs],[$GNOMEVFS_CPPFLAGS])
VLC_ADD_CFLAGS([access_gnomevfs],[$GNOMEVFS_CFLAGS])
VLC_ADD_PLUGINS([access_gnomevfs]),
AC_MSG_WARN([GnomeVFS support dis
ba
led because GnomeVFS development headers not found]))
AC_MSG_WARN([GnomeVFS support dis
ab
led because GnomeVFS development headers not found]))
fi
dnl Need to test libcdio and libvcdinfo for a number of things. Do it now.
...
...
doc/fortunes.txt
View file @
4e12f06b
...
...
@@ -580,3 +580,21 @@ the Boston strangler is to the woman home alone.
-- #videolan
%
<zorglub> gibalou: y'a un doc quelque part qui explique un peu plus le format
real ou fen a fait le demux directement en lisant des dumps / le
demuxer de mplayer ?
<gibalou> zorglub: la meilleure doc c'est le code de mplayer/xine
<zorglub> c'est bien ce que je craignais :)
<zorglub> j'ai pas regard xine ceci dit
<zorglub> c'est plus agrable lire que mplayer
<sam> mouahaha
<sam> non rien.
<zorglub> ah bah si quand mme
<bigben> tu veux dire que les variables ont un nom qui reflte ce qu'elles
font ?
<sam> avoir des noms de variables qu'on peut prononcer nuit fortement la
lisibilit car cela dtourne l'attention du vrai code, constitu des
mots-cls du langage et des divers oprateurs
<sam> j'appelle mes variables Illl, lIll, lIlI, IllI, IlII, etc.
-- #videolan
%
modules/mux/mpeg/ts.c
View file @
4e12f06b
...
...
@@ -174,14 +174,18 @@ vlc_module_begin();
PMTPID_LONGTEXT
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"tsid"
,
0
,
NULL
,
TSID_TEXT
,
TSID_LONGTEXT
,
VLC_TRUE
);
#ifdef HAVE_DVBPSI_SDT
add_integer
(
SOUT_CFG_PREFIX
"netid"
,
0
,
NULL
,
NETID_TEXT
,
NETID_LONGTEXT
,
VLC_TRUE
);
#endif
add_string
(
SOUT_CFG_PREFIX
"program-pmt"
,
NULL
,
NULL
,
PMTPROG_TEXT
,
PMTPROG_LONGTEXT
,
VLC_TRUE
);
add_bool
(
SOUT_CFG_PREFIX
"es-id-pid"
,
0
,
NULL
,
PID_TEXT
,
PID_LONGTEXT
,
VLC_TRUE
);
add_string
(
SOUT_CFG_PREFIX
"muxpmt"
,
NULL
,
NULL
,
MUXPMT_TEXT
,
MUXPMT_LONGTEXT
,
VLC_TRUE
);
#ifdef HAVE_DVBPSI_SDT
add_string
(
SOUT_CFG_PREFIX
"sdtdesc"
,
NULL
,
NULL
,
SDTDESC_TEXT
,
SDTDESC_LONGTEXT
,
VLC_TRUE
);
#endif
add_integer
(
SOUT_CFG_PREFIX
"shaping"
,
200
,
NULL
,
SHAPING_TEXT
,
SHAPING_LONGTEXT
,
VLC_TRUE
);
...
...
@@ -2139,8 +2143,10 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
if
(
p_sys
->
dvbpmt
==
NULL
)
p_sys
->
dvbpmt
=
malloc
(
p_sys
->
i_num_pmt
*
sizeof
(
dvbpsi_pmt_t
)
);
#ifdef HAVE_DVBPSI_SDT
if
(
p_sys
->
b_sdt
)
dvbpsi_InitSDT
(
&
sdt
,
p_sys
->
i_tsid
,
1
,
1
,
p_sys
->
i_netid
);
#endif
for
(
i
=
0
;
i
<
p_sys
->
i_num_pmt
;
i
++
)
{
...
...
@@ -2150,6 +2156,7 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
1
,
/* b_current_next */
p_sys
->
i_pcr_pid
);
#ifdef HAVE_DVBPSI_SDT
if
(
p_sys
->
b_sdt
)
{
p_service
=
dvbpsi_SDTAddService
(
&
sdt
,
...
...
@@ -2187,6 +2194,7 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
#undef psz_sdtprov
#undef psz_sdtserv
}
#endif
}
if
(
p_sys
->
i_mpeg4_streams
>
0
)
...
...
@@ -2462,6 +2470,7 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
dvbpsi_EmptyPMT
(
&
p_sys
->
dvbpmt
[
i
]
);
}
#ifdef HAVE_DVBPSI_SDT
if
(
p_sys
->
b_sdt
)
{
p_section2
=
dvbpsi_GenSDTSections
(
&
sdt
);
...
...
@@ -2471,4 +2480,5 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
dvbpsi_DeletePSISections
(
p_section2
);
dvbpsi_EmptySDT
(
&
sdt
);
}
#endif
}
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