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
3d8eeea6
Commit
3d8eeea6
authored
Dec 12, 2013
by
Hendrik Leppkes
Committed by
Michael Niedermayer
Jan 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2_vc1: signal skipped p frames
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c5562890
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dxva2_vc1.c
libavcodec/dxva2_vc1.c
+1
-1
No files found.
libavcodec/dxva2_vc1.c
View file @
3d8eeea6
...
...
@@ -168,7 +168,7 @@ static void fill_slice(AVCodecContext *avctx, DXVA_SliceInfo *slice,
slice
->
dwSliceDataLocation
=
position
;
slice
->
bStartCodeBitOffset
=
0
;
slice
->
bReservedBits
=
(
s
->
pict_type
==
AV_PICTURE_TYPE_B
&&
!
v
->
bi_type
)
?
v
->
bfraction_lut_index
+
9
:
0
;
slice
->
wMBbitOffset
=
get_bits_count
(
&
s
->
gb
);
slice
->
wMBbitOffset
=
v
->
p_frame_skipped
?
0xffff
:
get_bits_count
(
&
s
->
gb
);
slice
->
wNumberMBsInSlice
=
s
->
mb_width
*
s
->
mb_height
;
/* XXX We assume 1 slice */
slice
->
wQuantizerScaleCode
=
v
->
pq
;
slice
->
wBadSliceChopping
=
0
;
...
...
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