mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-06 17:29:08 +08:00
cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED add CODEC_CAP_TRUNCATED add alpha plane to AVPicture remove CODEC_ID_MSMPEG4 remove various unused stuff support "truncated" mpeg4 streams Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
5
ffmpeg.c
5
ffmpeg.c
@@ -1854,6 +1854,11 @@ void opt_input_file(const char *filename)
|
||||
enc->error_resilience = error_resilience;
|
||||
enc->error_concealment = error_concealment;
|
||||
enc->idct_algo= idct_algo;
|
||||
/* if(enc->codec->capabilities & CODEC_CAP_TRUNCATED)
|
||||
enc->flags|= CODEC_FLAG_TRUNCATED; */
|
||||
if(/*enc->codec_id==CODEC_ID_MPEG4 || */enc->codec_id==CODEC_ID_MPEG1VIDEO)
|
||||
enc->flags|= CODEC_FLAG_TRUNCATED;
|
||||
|
||||
if (enc->frame_rate != rfps) {
|
||||
fprintf(stderr,"\nSeems that stream %d comes from film source: %2.2f->%2.2f\n",
|
||||
i, (float)enc->frame_rate / FRAME_RATE_BASE,
|
||||
|
Reference in New Issue
Block a user