Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2bfdb34c
Commit
2bfdb34c
authored
Aug 12, 2011
by
Dustin Brody
Committed by
Diego Biurrun
Aug 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg12: remove repeat-field code disabled since May 2002
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
2dbdb309
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
avconv.c
avconv.c
+0
-2
ffmpeg.c
ffmpeg.c
+0
-2
mpeg12.c
libavcodec/mpeg12.c
+0
-12
No files found.
avconv.c
View file @
2bfdb34c
...
...
@@ -2295,8 +2295,6 @@ static int transcode(AVFormatContext **output_files,
}
assert_codec_experimental
(
ist
->
st
->
codec
,
0
);
assert_avoptions
(
ost
->
opts
);
//if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
// ist->st->codec->flags |= CODEC_FLAG_REPEAT_FIELD;
}
}
...
...
ffmpeg.c
View file @
2bfdb34c
...
...
@@ -2391,8 +2391,6 @@ static int transcode(AVFormatContext **output_files,
}
assert_codec_experimental
(
ist
->
st
->
codec
,
0
);
assert_avoptions
(
ost
->
opts
);
//if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
// ist->st->codec->flags |= CODEC_FLAG_REPEAT_FIELD;
}
}
...
...
libavcodec/mpeg12.c
View file @
2bfdb34c
...
...
@@ -2260,18 +2260,6 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
return
buf_size
;
}
#if 0
if (s->repeat_field % 2 == 1) {
s->repeat_field++;
//fprintf(stderr,"\nRepeating last frame: %d -> %d! pict: %d %d", avctx->frame_number-1, avctx->frame_number,
// s2->picture_number, s->repeat_field);
if (avctx->flags & CODEC_FLAG_REPEAT_FIELD) {
*data_size = sizeof(AVPicture);
goto the_end;
}
}
#endif
if
(
s
->
mpeg_enc_ctx_allocated
==
0
&&
avctx
->
codec_tag
==
AV_RL32
(
"VCR2"
))
vcr2_init_sequence
(
avctx
);
...
...
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