Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fa12fb3b
Commit
fa12fb3b
authored
Mar 04, 2011
by
Kieran Kunhya
Committed by
Michael Niedermayer
May 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Output MPEG-TS stream identifiers.
with changes by michael to simplify API
parent
8381ab14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
avformat.h
libavformat/avformat.h
+7
-0
mpegts.c
libavformat/mpegts.c
+3
-0
No files found.
libavformat/avformat.h
View file @
fa12fb3b
...
...
@@ -606,6 +606,13 @@ typedef struct AVStream {
*/
int
codec_info_nb_frames
;
/**
* Stream Identifier
* This is the MPEG-TS stream identifier +1
* 0 means unknown
*/
int
stream_identifier
;
/**
* Stream informations used internally by av_find_stream_info()
*/
...
...
libavformat/mpegts.c
View file @
fa12fb3b
...
...
@@ -994,6 +994,9 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
stream_type
==
STREAM_TYPE_PRIVATE_DATA
)
mpegts_find_stream_type
(
st
,
st
->
codec
->
codec_tag
,
REGD_types
);
break
;
case
0x52
:
/* stream identifier descriptor */
st
->
stream_identifier
=
1
+
get8
(
pp
,
desc_end
);
break
;
default:
break
;
}
...
...
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