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
2c0ea284
Commit
2c0ea284
authored
Feb 24, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/transcode.c: compilation fixes for ffmpeg-0.4.8.
parent
ea7a2510
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+9
-7
No files found.
modules/stream_out/transcode.c
View file @
2c0ea284
...
...
@@ -2,7 +2,7 @@
* transcode.c: transcoding stream output module
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: transcode.c,v 1.
79 2004/02/21 23:50:52
gbazin Exp $
* $Id: transcode.c,v 1.
80 2004/02/24 17:42:07
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -1448,7 +1448,9 @@ static int transcode_video_ffmpeg_process( sout_stream_t *p_stream,
id
->
ff_dec_c
->
pix_fmt
,
id
->
ff_dec_c
->
width
,
id
->
ff_dec_c
->
height
);
#if LIBAVCODEC_BUILD >= 4685
id
->
p_ff_pic_tmp0
->
interlaced_frame
=
0
;
#endif
id
->
p_ff_pic_tmp0
->
repeat_pict
=
frame
->
repeat_pict
;
frame
=
id
->
p_ff_pic_tmp0
;
}
...
...
@@ -1476,9 +1478,9 @@ static int transcode_video_ffmpeg_process( sout_stream_t *p_stream,
(
AVPicture
*
)
frame
,
id
->
ff_dec_c
->
pix_fmt
,
id
->
ff_dec_c
->
width
,
id
->
ff_dec_c
->
height
);
id
->
p_ff_pic_tmp1
->
interlaced_frame
=
frame
->
interlaced_frame
;
id
->
p_ff_pic_tmp1
->
repeat_pict
=
frame
->
repeat_pict
;
#if LIBAVCODEC_BUILD >= 4684
#if LIBAVCODEC_BUILD >= 4685
id
->
p_ff_pic_tmp1
->
interlaced_frame
=
frame
->
interlaced_frame
;
id
->
p_ff_pic_tmp1
->
top_field_first
=
frame
->
top_field_first
;
#endif
frame
=
id
->
p_ff_pic_tmp1
;
...
...
@@ -1518,9 +1520,9 @@ static int transcode_video_ffmpeg_process( sout_stream_t *p_stream,
img_resample
(
id
->
p_vresample
,
(
AVPicture
*
)
id
->
p_ff_pic_tmp2
,
(
AVPicture
*
)
frame
);
id
->
p_ff_pic_tmp2
->
interlaced_frame
=
frame
->
interlaced_frame
;
id
->
p_ff_pic_tmp2
->
repeat_pict
=
frame
->
repeat_pict
;
#if LIBAVCODEC_BUILD >= 4684
#if LIBAVCODEC_BUILD >= 4685
id
->
p_ff_pic_tmp2
->
interlaced_frame
=
frame
->
interlaced_frame
;
id
->
p_ff_pic_tmp2
->
top_field_first
=
frame
->
top_field_first
;
#endif
frame
=
id
->
p_ff_pic_tmp2
;
...
...
@@ -1554,9 +1556,9 @@ static int transcode_video_ffmpeg_process( sout_stream_t *p_stream,
/* Set the pts of the frame being encoded */
p_pic
->
date
=
p_sys
->
i_output_pts
;
p_pic
->
b_progressive
=
!
frame
->
interlaced_frame
;
p_pic
->
i_nb_fields
=
frame
->
repeat_pict
;
#if LIBAVCODEC_BUILD >= 4684
#if LIBAVCODEC_BUILD >= 4685
p_pic
->
b_progressive
=
!
frame
->
interlaced_frame
;
p_pic
->
b_top_field_first
=
frame
->
top_field_first
;
#endif
...
...
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