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
ab4835f4
Commit
ab4835f4
authored
Aug 22, 2019
by
Aman Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/v4l2_m2m_enc: add support for -force_key_frames
Signed-off-by:
Aman Gupta
<
aman@tmm1.net
>
parent
0f0f5188
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
v4l2_m2m_enc.c
libavcodec/v4l2_m2m_enc.c
+3
-0
No files found.
libavcodec/v4l2_m2m_enc.c
View file @
ab4835f4
...
...
@@ -245,6 +245,9 @@ static int v4l2_send_frame(AVCodecContext *avctx, const AVFrame *frame)
V4L2m2mContext
*
s
=
((
V4L2m2mPriv
*
)
avctx
->
priv_data
)
->
context
;
V4L2Context
*
const
output
=
&
s
->
output
;
if
(
frame
&&
frame
->
pict_type
==
AV_PICTURE_TYPE_I
)
v4l2_set_ext_ctrl
(
s
,
MPEG_CID
(
FORCE_KEY_FRAME
),
0
,
"force key frame"
);
return
ff_v4l2_context_enqueue_frame
(
output
,
frame
);
}
...
...
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