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
8b11ce71
Commit
8b11ce71
authored
Aug 02, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/libutvideoenc: Remove coded_frame usage
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
9f56acea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
libutvideoenc.cpp
libavcodec/libutvideoenc.cpp
+1
-3
No files found.
libavcodec/libutvideoenc.cpp
View file @
8b11ce71
...
...
@@ -198,8 +198,6 @@ static int utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
* assert that this is true.
*/
av_assert2
(
keyframe
==
true
);
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
pkt
->
flags
|=
AV_PKT_FLAG_KEY
;
*
got_packet
=
1
;
...
...
@@ -224,7 +222,7 @@ AVCodec ff_libutvideo_encoder = {
NULL_IF_CONFIG_SMALL
(
"Ut Video"
),
AVMEDIA_TYPE_VIDEO
,
AV_CODEC_ID_UTVIDEO
,
AV_CODEC_CAP_AUTO_THREADS
|
AV_CODEC_CAP_LOSSLESS
,
AV_CODEC_CAP_AUTO_THREADS
|
AV_CODEC_CAP_LOSSLESS
|
AV_CODEC_CAP_INTRA_ONLY
,
NULL
,
/* supported_framerates */
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUYV422
,
AV_PIX_FMT_BGR24
,
...
...
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