changeset 11970:c7953ee47af4 libavcodec

vp8: warn and request sample if upscaling specified in header
author mru
date Sun, 27 Jun 2010 00:37:43 +0000
parents 3cd4cd0509cd
children 5d9e0dad780b
files vp8.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vp8.c	Sat Jun 26 22:23:35 2010 +0000
+++ b/vp8.c	Sun Jun 27 00:37:43 2010 +0000
@@ -399,6 +399,9 @@
         buf      += 7;
         buf_size -= 7;
 
+        if (hscale || vscale)
+            av_log_missing_feature(s->avctx, "Upscaling", 1);
+
         s->update_golden = s->update_altref = VP56_FRAME_CURRENT;
         memcpy(s->prob->token    , vp8_token_default_probs , sizeof(s->prob->token));
         memcpy(s->prob->pred16x16, vp8_pred16x16_prob_inter, sizeof(s->prob->pred16x16));