From: Philipp Zabel
Date: Fri, 18 Jul 2014 10:22:42 +0000 (-0300)
Subject: [media] coda: split userspace interface into encoder and decoder device
X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~487
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121cacf44531666355d44d0f78948818c2ed9aca;p=pandora-kernel.git
[media] coda: split userspace interface into encoder and decoder device
Userspace has a hard time making sense of format enumerations on V4L2
mem2mem devices if there are restrictions on which input and output
formats can be used together. Alleviate the problem by splitting the
video4linux device into separate encoder and decoder devices which list
only raw formats on one side and only encoded formats on the other side.
With this patch, the instance type (encoder or decoder) is already
determined by the open file operation.
Acked-by: Hans Verkuil
Signed-off-by: Philipp Zabel
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed