Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
377a3250
authored
Jan 07, 2021
by
Alexey Rochev
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
H265Reader: initialize correct Format.height for interlaced video
parent
456622a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/H265Reader.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/H265Reader.java
View file @
377a3250
...
@@ -334,6 +334,23 @@ public final class H265Reader implements ElementaryStreamReader {
...
@@ -334,6 +334,23 @@ public final class H265Reader implements ElementaryStreamReader {
Log
.
w
(
TAG
,
"Unexpected aspect_ratio_idc value: "
+
aspectRatioIdc
);
Log
.
w
(
TAG
,
"Unexpected aspect_ratio_idc value: "
+
aspectRatioIdc
);
}
}
}
}
if
(
bitArray
.
readBit
())
// overscan_info_present_flag
bitArray
.
skipBit
();
if
(
bitArray
.
readBit
())
{
// video_signal_type_present_flag
bitArray
.
skipBits
(
4
);
if
(
bitArray
.
readBit
())
// colour_description_present_flag
bitArray
.
skipBits
(
24
);
}
if
(
bitArray
.
readBit
())
{
// chroma_loc_info_present_flag
bitArray
.
readUnsignedExpGolombCodedInt
();
bitArray
.
readUnsignedExpGolombCodedInt
();
}
bitArray
.
skipBit
();
// neutral_chroma_indication_flag
if
(
bitArray
.
readBit
())
{
// field_seq_flag
// field_seq_flag equal to 1 indicates that the CVS conveys pictures that represent fields,
// which means that picture height must be multiplied by 2 to get frame height
picHeightInLumaSamples
*=
2
;
}
}
}
return
new
Format
.
Builder
()
return
new
Format
.
Builder
()
...
...
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