Changeset 7ea9e5cc89fab3680c91cb136dc4c4ff8606750e
- Timestamp:
- 15/08/06 18:17:59
(2 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1155658679 +0000
- git-parent:
[970efecd699a6ba0fb5482bed5291912b75e4737]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1155658679 +0000
- Message:
* Get and write the correct profile_compat_byte
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r32e5b14 |
r7ea9e5c |
|
| 119 | 119 | { |
|---|
| 120 | 120 | int i_profile; |
|---|
| | 121 | int i_profile_compat; |
|---|
| 121 | 122 | int i_level; |
|---|
| 122 | 123 | |
|---|
| … | … | |
| 441 | 442 | p_stream->i_duration = 0; |
|---|
| 442 | 443 | p_stream->avc.i_profile = 77; |
|---|
| 443 | | p_stream->avc.i_level = 51; |
|---|
| | 444 | p_stream->avc.i_profile_compat = 64; |
|---|
| | 445 | p_stream->avc.i_level = 30; |
|---|
| 444 | 446 | p_stream->avc.i_sps = 0; |
|---|
| 445 | 447 | p_stream->avc.sps = NULL; |
|---|
| … | … | |
| 722 | 724 | |
|---|
| 723 | 725 | tk->avc.i_profile = tk->avc.sps[1]; |
|---|
| | 726 | tk->avc.i_profile = tk->avc.sps[2]; |
|---|
| 724 | 727 | tk->avc.i_level = tk->avc.sps[3]; |
|---|
| 725 | 728 | } |
|---|
| … | … | |
| 930 | 933 | bo_add_8( avcC, 1 ); /* configuration version */ |
|---|
| 931 | 934 | bo_add_8( avcC, p_stream->avc.i_profile ); |
|---|
| 932 | | bo_add_8( avcC, p_stream->avc.i_profile ); /* profile compatible ??? */ |
|---|
| | 935 | bo_add_8( avcC, p_stream->avc.i_profile_compat ); |
|---|
| 933 | 936 | bo_add_8( avcC, p_stream->avc.i_level ); /* level, 5.1 */ |
|---|
| 934 | 937 | bo_add_8( avcC, 0xff ); /* 0b11111100 | lengthsize = 0x11 */ |
|---|