diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-06 23:41:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-06 23:46:37 +0200 |
commit | 454fab721a2d518d814ce50ab545f89af107851d (patch) | |
tree | 9416698d09c363fa1b0fe3cf502872b60dd4e405 /ffplay.c | |
parent | 8bce71dff5a7fd2851c4718c274d8b2a94fb595c (diff) | |
download | ffmpeg-454fab721a2d518d814ce50ab545f89af107851d.tar.gz |
Disable dr1 in ffplay for svq1 (fixes ticket40)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1662,7 +1662,9 @@ static int input_init(AVFilterContext *ctx, const char *args, void *opaque) priv->is = opaque; codec = priv->is->video_st->codec; codec->opaque = ctx; - if(codec->codec->capabilities & CODEC_CAP_DR1) { + if((codec->codec->capabilities & CODEC_CAP_DR1) + && codec->codec_id != CODEC_ID_SVQ1 //chroma alignment from lavfi is insufficient + ) { priv->use_dr1 = 1; codec->get_buffer = input_get_buffer; codec->release_buffer = input_release_buffer; |