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
071841ed
Commit
071841ed
authored
Nov 26, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg/encoder.c: bframes are supported for mp1v and mp2v as well as mpgv.
parent
37c3eadc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+4
-2
No files found.
modules/codec/ffmpeg/encoder.c
View file @
071841ed
...
...
@@ -2,7 +2,7 @@
* encoder.c: video and audio encoder using the ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: encoder.c,v 1.
8 2003/11/22 23:39:14 fenrir
Exp $
* $Id: encoder.c,v 1.
9 2003/11/26 13:59:16 gbazin
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -291,7 +291,9 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
}
/* Set the pts of the frame being encoded (segfaults with mpeg4!)*/
if
(
p_enc
->
fmt_out
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
)
)
if
(
p_enc
->
fmt_out
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
)
||
p_enc
->
fmt_out
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'1'
,
'v'
)
||
p_enc
->
fmt_out
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'2'
,
'v'
)
)
frame
.
pts
=
p_pict
->
date
;
else
frame
.
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