diff mbox

solo6x10: Update the encoder mode on VIDIOC_S_FMT

Message ID 1365802113-23730-1-git-send-email-ismael.luceno@corp.bluecherry.net (mailing list archive)
State New, archived
Headers show

Commit Message

Ismael Luceno April 12, 2013, 9:28 p.m. UTC
Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
---
 drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
index 6147bb2..d132d3b 100644
--- a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
+++ b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
@@ -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;
 }