mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
Do not try to encode DVCPRO HD, it produces broken files.
This commit is contained in:
parent
0a3e15690f
commit
6b87f0707d
@ -335,6 +335,10 @@ static av_cold int dvvideo_init_encoder(AVCodecContext *avctx)
|
||||
ff_dv_print_profiles(avctx, AV_LOG_ERROR);
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
if (avctx->height > 576) {
|
||||
av_log(avctx, AV_LOG_ERROR, "DVCPRO HD encoding is not supported.\n");
|
||||
return AVERROR_PATCHWELCOME;
|
||||
}
|
||||
|
||||
dv_vlc_map_tableinit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user