Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d8b4df3c
Commit
d8b4df3c
authored
Mar 15, 2013
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: mark SP/SI/BI pictures
parent
6b01e3ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+5
-1
No files found.
modules/codec/avcodec/encoder.c
View file @
d8b4df3c
...
@@ -1040,15 +1040,19 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
...
@@ -1040,15 +1040,19 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
switch
(
p_sys
->
p_context
->
coded_frame
->
pict_type
)
switch
(
p_sys
->
p_context
->
coded_frame
->
pict_type
)
{
{
case
AV_PICTURE_TYPE_I
:
case
AV_PICTURE_TYPE_I
:
case
AV_PICTURE_TYPE_SI
:
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_I
;
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_I
;
break
;
break
;
case
AV_PICTURE_TYPE_P
:
case
AV_PICTURE_TYPE_P
:
case
AV_PICTURE_TYPE_SP
:
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_P
;
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_P
;
break
;
break
;
case
AV_PICTURE_TYPE_B
:
case
AV_PICTURE_TYPE_B
:
case
AV_PICTURE_TYPE_BI
:
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_B
;
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_B
;
break
;
break
;
default:
p_block
->
i_flags
|=
BLOCK_FLAG_TYPE_PB
;
}
}
return
p_block
;
return
p_block
;
...
...
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