Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
c1aad580
Commit
c1aad580
authored
Mar 06, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* transcode.c: another fix to avoid 1st frame without pts.
parent
b30fa861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+5
-2
No files found.
modules/stream_out/transcode.c
View file @
c1aad580
...
...
@@ -1789,8 +1789,11 @@ static int transcode_video_ffmpeg_getframebuf(struct AVCodecContext *p_context,
}
else
p_frame
->
pts
=
AV_NOPTS_VALUE
;
p_sys
->
i_input_pts
=
0
;
p_sys
->
i_input_dts
=
0
;
if
(
p_sys
->
i_output_pts
)
/* make sure 1st frame has a pts > 0 */
{
p_sys
->
i_input_pts
=
0
;
p_sys
->
i_input_dts
=
0
;
}
return
avcodec_default_get_buffer
(
p_context
,
p_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