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
19738f6a
Commit
19738f6a
authored
Jun 28, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot that for Qt
parent
47315c39
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
+15
-13
configure.ac
configure.ac
+2
-0
modules/demux/ts.c
modules/demux/ts.c
+4
-5
src/input/es_out.c
src/input/es_out.c
+9
-8
No files found.
configure.ac
View file @
19738f6a
...
...
@@ -4636,6 +4636,7 @@ AC_ARG_ENABLE(qt4,
VLC_ADD_LDFLAGS([qt4],[$QT4_LIBS])
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
MOC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/moc
RCC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/rcc
UIC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/uic],
[AC_MSG_WARN(QT4 library not found)])
fi])
...
...
@@ -5445,6 +5446,7 @@ AC_SUBST(ARCH)
AC_SUBST(ALIASES)
AC_SUBST(ASM)
AC_SUBST(MOC)
AC_SUBST(RCC)
AC_SUBST(UIC)
AC_SUBST(WINDRES)
AC_SUBST(MOZILLA_SDK_PATH)
...
...
modules/demux/ts.c
View file @
19738f6a
...
...
@@ -2433,8 +2433,8 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
msg_Dbg
(
p_demux
,
" - type=%d provider=%s name=%s"
,
pD
->
i_service_type
,
str1
,
str2
);
vlc_meta_
Add
(
p_meta
,
"Name"
,
str2
);
vlc_meta_
Add
(
p_meta
,
"Provider"
,
str1
);
vlc_meta_
SetTitle
(
p_meta
,
str2
);
vlc_meta_
SetProvider
(
p_meta
,
str1
);
if
(
pD
->
i_service_type
>=
0x01
&&
pD
->
i_service_type
<=
0x10
)
vlc_meta_Add
(
p_meta
,
"Type"
,
psz_type
[
pD
->
i_service_type
]
);
}
...
...
@@ -2451,7 +2451,6 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
else
vlc_meta_Add
(
p_meta
,
"Status"
,
"Unknown"
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_GROUP_META
,
p_srv
->
i_service_id
,
p_meta
);
vlc_meta_Delete
(
p_meta
);
...
...
@@ -2622,7 +2621,7 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit )
if
(
p_evt
->
i_running_status
==
0x04
)
{
vlc_meta_
Add
(
p_meta
,
VLC_META_NOW_PLAYING
,
psz_name
);
vlc_meta_
SetNowPlaying
(
p_meta
,
psz_name
);
b_event_active
=
VLC_TRUE
;
}
...
...
@@ -2631,7 +2630,7 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit )
}
if
(
!
b_event_active
)
vlc_meta_
Add
(
p_meta
,
VLC_META_NOW_PLAYING
,
""
);
vlc_meta_
SetNowPlaying
(
p_meta
,
""
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_GROUP_META
,
p_eit
->
i_service_id
,
p_meta
);
vlc_meta_Delete
(
p_meta
);
...
...
src/input/es_out.c
View file @
19738f6a
...
...
@@ -565,7 +565,7 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
es_out_pgrm_t
*
p_pgrm
=
NULL
;
input_thread_t
*
p_input
=
p_sys
->
p_input
;
char
*
psz_cat
=
malloc
(
strlen
(
_
(
"Program"
))
+
10
);
char
*
psz_
nam
e
=
NULL
;
char
*
psz_
titl
e
=
NULL
;
char
*
psz_now_playing
=
NULL
;
char
*
psz_provider
=
NULL
;
int
i
;
...
...
@@ -573,10 +573,11 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
msg_Dbg
(
p_input
,
"EsOutProgramMeta: number=%d"
,
i_group
);
sprintf
(
psz_cat
,
"%s %d"
,
_
(
"Program"
),
i_group
);
// if( p_meta->psz_provider) psz_provider = p_meta->psz_provider;
if
(
p_meta
->
psz_title
)
psz_title
=
p_meta
->
psz_title
;
if
(
p_meta
->
psz_provider
)
psz_provider
=
p_meta
->
psz_provider
;
if
(
p_meta
->
psz_nowplaying
)
psz_now_playing
=
p_meta
->
psz_nowplaying
;
if
(
!
psz_
nam
e
&&
!
psz_now_playing
)
if
(
!
psz_
titl
e
&&
!
psz_now_playing
)
{
free
(
psz_cat
);
return
;
...
...
@@ -595,7 +596,7 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
p_pgrm
=
EsOutProgramAdd
(
out
,
i_group
);
/* Update the description text of the program */
if
(
psz_
name
&&
*
psz_nam
e
)
if
(
psz_
title
&&
*
psz_titl
e
)
{
vlc_value_t
val
;
vlc_value_t
text
;
...
...
@@ -606,13 +607,13 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
if
(
psz_provider
&&
*
psz_provider
)
{
asprintf
(
&
text
.
psz_string
,
"%s [%s]"
,
psz_
nam
e
,
psz_provider
);
asprintf
(
&
text
.
psz_string
,
"%s [%s]"
,
psz_
titl
e
,
psz_provider
);
var_Change
(
p_input
,
"program"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
free
(
text
.
psz_string
);
}
else
{
text
.
psz_string
=
psz_
nam
e
;
text
.
psz_string
=
psz_
titl
e
;
var_Change
(
p_input
,
"program"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
}
}
...
...
@@ -623,8 +624,8 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
if
(
p_sys
->
p_pgrm
==
p_pgrm
)
{
input_Control
(
p_input
,
INPUT_ADD_INFO
,
_
(
VLC_META_INFO_CAT
)
,
_
(
VLC_META_NOW_PLAYING
),
"%s"
,
psz_now_playing
);
vlc_meta_SetNowPlaying
(
p_input
->
input
.
p_item
->
p_meta
,
psz_now_playing
);
}
}
free
(
psz_cat
);
...
...
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