Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
9dad924e
Commit
9dad924e
authored
21 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
bottom_field_first -> top_field_first
Originally committed as revision 2402 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fa384dcc
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavcodec/avcodec.h
+4
-4
4 additions, 4 deletions
libavcodec/avcodec.h
libavcodec/dv.c
+1
-1
1 addition, 1 deletion
libavcodec/dv.c
libavformat/yuv4mpeg.c
+1
-1
1 addition, 1 deletion
libavformat/yuv4mpeg.c
with
6 additions
and
6 deletions
libavcodec/avcodec.h
+
4
−
4
View file @
9dad924e
...
...
@@ -15,7 +15,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000408
#define FFMPEG_VERSION "0.4.8"
#define LIBAVCODEC_BUILD 468
5
#define LIBAVCODEC_BUILD 468
6
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION
...
...
@@ -436,11 +436,11 @@ typedef struct AVPanScan{
int interlaced_frame;\
\
/**\
* if the content is interlaced, is
bot
to
m
field displayed first.\
* if the content is interlaced, is to
p
field displayed first.\
* - encoding: set by user\
* - decoding: set by lavc
(default 0)
\
* - decoding: set by lavc\
*/
\
int
bot
to
m
_field_first;\
int to
p
_field_first;\
\
/**\
* Pan scan.\
...
...
This diff is collapsed.
Click to expand it.
libavcodec/dv.c
+
1
−
1
View file @
9dad924e
...
...
@@ -855,7 +855,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
return
-
1
;
}
s
->
picture
.
interlaced_frame
=
1
;
s
->
picture
.
bot
to
m
_field_first
=
1
;
s
->
picture
.
to
p
_field_first
=
0
;
/* for each DIF segment */
mb_pos_ptr
=
s
->
sys
->
video_place
;
...
...
This diff is collapsed.
Click to expand it.
libavformat/yuv4mpeg.c
+
1
−
1
View file @
9dad924e
...
...
@@ -54,7 +54,7 @@ static int yuv4_generate_header(AVFormatContext *s, char* buf)
inter
=
'p'
;
/* progressive is the default */
if
(
st
->
codec
.
coded_frame
&&
st
->
codec
.
coded_frame
->
interlaced_frame
)
{
inter
=
st
->
codec
.
coded_frame
->
bot
to
m
_field_first
?
'
b
'
:
'
t
'
;
inter
=
st
->
codec
.
coded_frame
->
to
p
_field_first
?
'
t
'
:
'
b
'
;
}
/* construct stream header, if this is the first frame */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment