Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
91c356bc
Commit
91c356bc
authored
Aug 11, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/transcode.c: work around a problem in ffmpeg with mpeg4 encoding.
parent
34604420
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+6
-3
No files found.
modules/stream_out/transcode.c
View file @
91c356bc
...
...
@@ -2,7 +2,7 @@
* transcode.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: transcode.c,v 1.
29 2003/08/09 14:59:24
gbazin Exp $
* $Id: transcode.c,v 1.
30 2003/08/11 20:48:19
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -1509,8 +1509,11 @@ static int transcode_video_ffmpeg_process( sout_stream_t *p_stream,
frame
=
id
->
p_ff_pic_tmp2
;
}
/* Set the pts of the frame being encoded */
frame
->
pts
=
p_sys
->
i_output_pts
;
/* Set the pts of the frame being encoded (segfaults with mpeg4!)*/
if
(
id
->
f_dst
.
i_fourcc
==
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
)
)
frame
->
pts
=
p_sys
->
i_output_pts
;
else
frame
->
pts
=
0
;
/* Interpolate the next PTS
* (needed by the mpeg video packetizer which can send pts <= 0 ) */
...
...
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