Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 34861:bbbe5519f1e7
Change MP_IMGTYPE_NUMBERED semantics.
This makes it easier to detect filters that claim to
support it for direct rendering but actually don't.
author | reimar |
---|---|
date | Mon, 21 May 2012 19:59:58 +0000 |
parents | 59bac49bba26 |
children | 7af545739044 |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Mon May 21 19:17:55 2012 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Mon May 21 19:59:58 2012 +0000 @@ -581,7 +581,7 @@ } if (IMGFMT_IS_HWACCEL(ctx->best_csp)) { - type = MP_IMGTYPE_NUMBERED | (0xffff << 16); + type = MP_IMGTYPE_NUMBERED; } else if (type == MP_IMGTYPE_IP || type == MP_IMGTYPE_IPB) { if(ctx->b_count>1 || ctx->ip_count>2){