OSDN Git Service

Merge "msm: vidc: Amend DCVS condition"
authorLinux Build Service Account <lnxbuild@localhost>
Tue, 30 Aug 2016 12:43:44 +0000 (05:43 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 30 Aug 2016 12:43:44 +0000 (05:43 -0700)
1  2 
drivers/media/platform/msm/vidc/msm_vdec.c
drivers/media/platform/msm/vidc/msm_venc.c
drivers/media/platform/msm/vidc/msm_vidc_common.c

@@@ -1231,16 -1227,16 +1231,14 @@@ static void handle_event_change(enum ha
                inst->in_reconfig = true;
        } else {
                dprintk(VIDC_DBG, "V4L2_EVENT_SEQ_CHANGED_SUFFICIENT\n");
 -                      dprintk(VIDC_DBG,
 -                                      "event_notify->height = %d event_notify->width = %d\n",
 -                                      event_notify->height,
 -                                      event_notify->width);
 -                      inst->prop.height[CAPTURE_PORT] = event_notify->height;
 -                      inst->prop.width[CAPTURE_PORT] = event_notify->width;
 -                      inst->prop.height[OUTPUT_PORT] = event_notify->height;
 -                      inst->prop.width[OUTPUT_PORT] = event_notify->width;
 +              dprintk(VIDC_DBG,
 +                      "event_notify->height = %d event_notify->width = %d\n",
 +                      event_notify->height,
 +                      event_notify->width);
 +              inst->prop.height[OUTPUT_PORT] = event_notify->height;
 +              inst->prop.width[OUTPUT_PORT] = event_notify->width;
        }
  
-       inst->seqchanged_count++;
        if (inst->session_type == MSM_VIDC_DECODER)
                msm_dcvs_init_load(inst);