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
b666c76f
Commit
b666c76f
authored
Feb 14, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sl_config_descriptor_t: unused, remove
parent
448a2181
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
62 deletions
+1
-62
modules/demux/ts.c
modules/demux/ts.c
+1
-62
No files found.
modules/demux/ts.c
View file @
b666c76f
...
@@ -192,35 +192,6 @@ typedef struct
...
@@ -192,35 +192,6 @@ typedef struct
}
decoder_config_descriptor_t
;
}
decoder_config_descriptor_t
;
typedef
struct
{
bool
b_useAccessUnitStartFlag
;
bool
b_useAccessUnitEndFlag
;
bool
b_useRandomAccessPointFlag
;
bool
b_useRandomAccessUnitsOnlyFlag
;
bool
b_usePaddingFlag
;
bool
b_useTimeStampsFlags
;
bool
b_useIdleFlag
;
bool
b_durationFlag
;
uint32_t
i_timeStampResolution
;
uint32_t
i_OCRResolution
;
uint8_t
i_timeStampLength
;
uint8_t
i_OCRLength
;
uint8_t
i_AU_Length
;
uint8_t
i_instantBitrateLength
;
uint8_t
i_degradationPriorityLength
;
uint8_t
i_AU_seqNumLength
;
uint8_t
i_packetSeqNumLength
;
uint32_t
i_timeScale
;
uint16_t
i_accessUnitDuration
;
uint16_t
i_compositionUnitDuration
;
uint64_t
i_startDecodingTimeStamp
;
uint64_t
i_startCompositionTimeStamp
;
}
sl_config_descriptor_t
;
typedef
struct
typedef
struct
{
{
bool
b_ok
;
bool
b_ok
;
...
@@ -236,7 +207,6 @@ typedef struct
...
@@ -236,7 +207,6 @@ typedef struct
uint16_t
i_OCR_es_id
;
uint16_t
i_OCR_es_id
;
decoder_config_descriptor_t
dec_descr
;
decoder_config_descriptor_t
dec_descr
;
sl_config_descriptor_t
sl_descr
;
}
es_mpeg4_descriptor_t
;
}
es_mpeg4_descriptor_t
;
...
@@ -2540,7 +2510,6 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
...
@@ -2540,7 +2510,6 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
}
}
}
}
#undef dec_descr
#undef dec_descr
#define sl_descr es_descr.sl_descr
{
{
int
i_SLConfigDescr_length
;
int
i_SLConfigDescr_length
;
int
i_predefined
;
int
i_predefined
;
...
@@ -2558,36 +2527,7 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
...
@@ -2558,36 +2527,7 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
switch
(
i_predefined
)
switch
(
i_predefined
)
{
{
case
0x01
:
case
0x01
:
{
// FIXME
sl_descr
.
b_useAccessUnitStartFlag
=
0
;
sl_descr
.
b_useAccessUnitEndFlag
=
0
;
sl_descr
.
b_useRandomAccessPointFlag
=
0
;
//sl_descr.b_useRandomAccessUnitsOnlyFlag = 0;
sl_descr
.
b_usePaddingFlag
=
0
;
sl_descr
.
b_useTimeStampsFlags
=
0
;
sl_descr
.
b_useIdleFlag
=
0
;
sl_descr
.
b_durationFlag
=
0
;
// FIXME FIXME
sl_descr
.
i_timeStampResolution
=
1000
;
sl_descr
.
i_OCRResolution
=
0
;
// FIXME FIXME
sl_descr
.
i_timeStampLength
=
32
;
sl_descr
.
i_OCRLength
=
0
;
// FIXME FIXME
sl_descr
.
i_AU_Length
=
0
;
sl_descr
.
i_instantBitrateLength
=
0
;
// FIXME FIXME
sl_descr
.
i_degradationPriorityLength
=
0
;
sl_descr
.
i_AU_seqNumLength
=
0
;
sl_descr
.
i_packetSeqNumLength
=
0
;
if
(
sl_descr
.
b_durationFlag
)
{
sl_descr
.
i_timeScale
=
0
;
// FIXME FIXME
sl_descr
.
i_accessUnitDuration
=
0
;
// FIXME FIXME
sl_descr
.
i_compositionUnitDuration
=
0
;
// FIXME FIXME
}
if
(
!
sl_descr
.
b_useTimeStampsFlags
)
{
sl_descr
.
i_startDecodingTimeStamp
=
0
;
// FIXME FIXME
sl_descr
.
i_startCompositionTimeStamp
=
0
;
// FIXME FIXME
}
}
break
;
break
;
default:
default:
ts_debug
(
"
\n
* ERR unsupported SLConfigDescr predefined"
);
ts_debug
(
"
\n
* ERR unsupported SLConfigDescr predefined"
);
...
@@ -2596,7 +2536,6 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
...
@@ -2596,7 +2536,6 @@ static iod_descriptor_t *IODNew( int i_data, uint8_t *p_data )
}
}
}
}
break
;
break
;
#undef sl_descr
#undef es_descr
#undef es_descr
default:
default:
ts_debug
(
"
\n
* - OD tag:0x%x length:%d (Unsupported)"
,
i_tag
,
i_length
);
ts_debug
(
"
\n
* - OD tag:0x%x length:%d (Unsupported)"
,
i_tag
,
i_length
);
...
...
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