[media] solo6x10: Update the encoder mode on VIDIOC_S_FMT
authorIsmael Luceno <ismael.luceno@corp.bluecherry.net>
Fri, 12 Apr 2013 21:28:33 +0000 (18:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 22 Apr 2013 13:05:18 +0000 (10:05 -0300)
Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c

index 6c7d20f8f67c2483ebf9b02c720b3ba09991985b..90a0645c60618da086e60fad5143ff8dcc21fa3b 100644 (file)
@@ -872,6 +872,7 @@ static int solo_enc_set_fmt_cap(struct file *file, void *priv,
        if (pix->priv)
                solo_enc->type = SOLO_ENC_TYPE_EXT;
         */
+       solo_update_mode(solo_enc);
        return 0;
 }