Commit 454fab72 authored by Michael Niedermayer's avatar Michael Niedermayer

Disable dr1 in ffplay for svq1 (fixes ticket40)

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8bce71df
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment