Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
1e0610a4
Commit
1e0610a4
authored
Mar 29, 2004
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Populate "Stream and Media Info"
parent
6cbedca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
src/input/input_programs.c
src/input/input_programs.c
+25
-0
No files found.
src/input/input_programs.c
View file @
1e0610a4
...
...
@@ -600,6 +600,7 @@ es_descriptor_t * input_AddES( input_thread_t * p_input,
es_descriptor_t
*
p_es
;
vlc_value_t
val
,
text
;
char
*
psz_var
=
NULL
;
char
*
psz_type
=
NULL
;
p_es
=
(
es_descriptor_t
*
)
malloc
(
sizeof
(
es_descriptor_t
)
);
if
(
p_es
==
NULL
)
...
...
@@ -662,13 +663,37 @@ es_descriptor_t * input_AddES( input_thread_t * p_input,
{
case
AUDIO_ES
:
psz_var
=
"audio-es"
;
psz_type
=
_
(
"audio"
);
break
;
case
SPU_ES
:
psz_var
=
"spu-es"
;
psz_type
=
_
(
"subtitle"
);
break
;
case
VIDEO_ES
:
psz_var
=
"video-es"
;
psz_type
=
_
(
"video"
);
break
;
case
NAV_ES
:
psz_type
=
_
(
"navigation"
);
break
;
case
UNKNOWN_ES
:
psz_type
=
_
(
"unknown"
);
break
;
default:
psz_type
=
_
(
"error"
);
}
#define TITLE_MAX 30
/* Add stream info. */
{
input_info_category_t
*
p_cat
;
char
psz_streamid
[
TITLE_MAX
];
snprintf
(
psz_streamid
,
TITLE_MAX
,
"%s%04x"
,
_
(
"Stream "
),
i_es_id
);
p_cat
=
input_InfoCategory
(
p_input
,
psz_streamid
);
input_AddInfo
(
p_cat
,
_
(
"Type"
),
"%s"
,
psz_type
);
if
(
psz_desc
&&
*
psz_desc
)
input_AddInfo
(
p_cat
,
_
(
"Description"
),
"%s"
,
psz_desc
);
}
if
(
psz_var
)
...
...
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