diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2017-02-15 06:11:17 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-15 06:11:16 -0800 |
commit | b09d016fa4543328f9acf0b026b1f25eaa50658f (patch) | |
tree | 4703b173d0b08c6843100fe23c7c22b5c423874b /drivers | |
parent | 9d77f1dc264d463495a8cad50be55db1102bd9bd (diff) | |
parent | 4fbe920008263ac58dbcadeb82e9c256dffcc435 (diff) |
Merge "msm: vidc: Fix issue in split mode for UBWC output"
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/msm/vidc/msm_vidc_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/msm/vidc/msm_vidc_common.c b/drivers/media/platform/msm/vidc/msm_vidc_common.c index ba3e4ce6b18c..21602d8d49e5 100644 --- a/drivers/media/platform/msm/vidc/msm_vidc_common.c +++ b/drivers/media/platform/msm/vidc/msm_vidc_common.c @@ -1217,7 +1217,8 @@ static void handle_event_change(enum hal_command_response cmd, void *data) "V4L2_EVENT_SEQ_CHANGED_INSUFFICIENT due to bit-depth change\n"); } - if (inst->pic_struct != event_notify->pic_struct) { + if (inst->fmts[CAPTURE_PORT].fourcc == V4L2_PIX_FMT_NV12 && + inst->pic_struct != event_notify->pic_struct) { inst->pic_struct = event_notify->pic_struct; event = V4L2_EVENT_SEQ_CHANGED_INSUFFICIENT; ptr[2] |= V4L2_EVENT_PICSTRUCT_FLAG; |