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
177bb4bf
Commit
177bb4bf
authored
Feb 11, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cljr: set the properties of the coded_frame, not input frame.
parent
89829242
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
cljr.c
libavcodec/cljr.c
+2
-2
cljr
tests/ref/vsynth1/cljr
+1
-1
cljr
tests/ref/vsynth2/cljr
+1
-1
No files found.
libavcodec/cljr.c
View file @
177bb4bf
...
...
@@ -135,8 +135,8 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
AVFrame
*
p
=
data
;
int
x
,
y
;
p
->
pict_type
=
AV_PICTURE_TYPE_I
;
p
->
key_frame
=
1
;
avctx
->
coded_frame
->
pict_type
=
AV_PICTURE_TYPE_I
;
avctx
->
coded_frame
->
key_frame
=
1
;
init_put_bits
(
&
pb
,
buf
,
buf_size
/
8
);
...
...
tests/ref/vsynth1/cljr
View file @
177bb4bf
d149cadc43100d8e98ff04e57fdaa31f
*./tests/data/vsynth1/cljr.avi
b4d3d31da0b4b6873ad8239d113c91d2
*./tests/data/vsynth1/cljr.avi
5075660 ./tests/data/vsynth1/cljr.avi
4debaab994c2c7273bebaa0c5733017b *./tests/data/cljr.vsynth1.out.yuv
stddev: 30.75 PSNR: 18.37 MAXDIFF: 225 bytes: 7603200/ 7603200
tests/ref/vsynth2/cljr
View file @
177bb4bf
86250984790dd745a932f36cf229cef7
*./tests/data/vsynth2/cljr.avi
416ddcf73d2d993456f3c49f3eed4f1a
*./tests/data/vsynth2/cljr.avi
5075660 ./tests/data/vsynth2/cljr.avi
3a70ba2a535ef9c7fc6478b27a2cb58a *./tests/data/cljr.vsynth2.out.yuv
stddev: 10.48 PSNR: 27.72 MAXDIFF: 64 bytes: 7603200/ 7603200
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