Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
80d6bfb2
Commit
80d6bfb2
authored
Nov 29, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg/encoder.c: fixed compilation problem with ffmpeg 0.4.8
parent
1f239513
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+5
-2
No files found.
modules/codec/ffmpeg/encoder.c
View file @
80d6bfb2
...
...
@@ -2,7 +2,7 @@
* encoder.c: video and audio encoder using the ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: encoder.c,v 1.1
2 2003/11/28 23:40:09
gbazin Exp $
* $Id: encoder.c,v 1.1
3 2003/11/29 00:41:35
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -325,9 +325,12 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
/* Let ffmpeg select the frame type */
frame
.
pict_type
=
0
;
frame
.
interlaced_frame
=
!
p_pict
->
b_progressive
;
frame
.
repeat_pict
=
p_pict
->
i_nb_fields
;
#if LIBAVCODEC_BUILD >= 468
frame
.
interlaced_frame
=
!
p_pict
->
b_progressive
;
frame
.
top_field_first
=
p_pict
->
b_top_field_first
;
#endif
i_out
=
avcodec_encode_video
(
p_sys
->
p_context
,
p_sys
->
p_buffer_out
,
AVCODEC_MAX_VIDEO_FRAME_SIZE
,
&
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