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
0c6cf3fa
Commit
0c6cf3fa
authored
Jun 17, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vsrc_color: set output pos values to -1
-1 is more correct than 0, as the position in the file is undefined.
parent
bb3a2b72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vsrc_color.c
libavfilter/vsrc_color.c
+1
-1
No files found.
libavfilter/vsrc_color.c
View file @
0c6cf3fa
...
...
@@ -139,7 +139,7 @@ static int color_request_frame(AVFilterLink *link)
AVFilterBufferRef
*
picref
=
avfilter_get_video_buffer
(
link
,
AV_PERM_WRITE
,
color
->
w
,
color
->
h
);
picref
->
video
->
sample_aspect_ratio
=
(
AVRational
)
{
1
,
1
};
picref
->
pts
=
av_rescale_q
(
color
->
pts
++
,
color
->
time_base
,
AV_TIME_BASE_Q
);
picref
->
pos
=
0
;
picref
->
pos
=
-
1
;
avfilter_start_frame
(
link
,
avfilter_ref_buffer
(
picref
,
~
0
));
ff_draw_rectangle
(
picref
->
data
,
picref
->
linesize
,
...
...
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