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
a5dc85ef
Commit
a5dc85ef
authored
May 11, 2002
by
Juanjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Bug fix in map stream parser
Originally committed as revision 483 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7434ba6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ffmpeg.c
ffmpeg.c
+6
-1
No files found.
ffmpeg.c
View file @
a5dc85ef
...
@@ -489,8 +489,12 @@ static void do_video_out(AVFormatContext *s,
...
@@ -489,8 +489,12 @@ static void do_video_out(AVFormatContext *s,
ret
=
avcodec_encode_video
(
enc
,
ret
=
avcodec_encode_video
(
enc
,
video_buffer
,
sizeof
(
video_buffer
),
video_buffer
,
sizeof
(
video_buffer
),
picture
);
picture
);
//enc->frame_number = enc->r_pict_num;
s
->
format
->
write_packet
(
s
,
ost
->
index
,
video_buffer
,
ret
,
0
);
s
->
format
->
write_packet
(
s
,
ost
->
index
,
video_buffer
,
ret
,
0
);
*
frame_size
=
ret
;
*
frame_size
=
ret
;
//fprintf(stderr,"\nFrame: %3d %3d size: %5d type: %d",
// enc->frame_number-1, enc->r_pict_num, ret,
// enc->pict_type);
}
else
{
}
else
{
write_picture
(
s
,
ost
->
index
,
picture
,
enc
->
pix_fmt
,
enc
->
width
,
enc
->
height
);
write_picture
(
s
,
ost
->
index
,
picture
,
enc
->
pix_fmt
,
enc
->
width
,
enc
->
height
);
}
}
...
@@ -1466,7 +1470,8 @@ void opt_map(const char *arg)
...
@@ -1466,7 +1470,8 @@ void opt_map(const char *arg)
m
->
file_index
=
strtol
(
arg
,
(
char
**
)
&
p
,
0
);
m
->
file_index
=
strtol
(
arg
,
(
char
**
)
&
p
,
0
);
if
(
*
p
)
if
(
*
p
)
p
++
;
p
++
;
m
->
stream_index
=
strtol
(
arg
,
(
char
**
)
&
p
,
0
);
m
->
stream_index
=
strtol
(
p
,
(
char
**
)
&
p
,
0
);
}
}
void
opt_recording_time
(
const
char
*
arg
)
void
opt_recording_time
(
const
char
*
arg
)
...
...
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