The gst-plugins-good0.10 does not handle this error code(ENODATA).
Thus, using the error code(ENOTTY), it can handle.
Temporary patch, until gst-plugins-good is updated.
Change-Id: I95d6f01c1051e0f98f7ae1bbc1d386a04817bf65
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
/* Return -ENODATA if the tvnorms for the current input
or output is 0, meaning that it doesn't support this API. */
if (id == 0)
- return -ENODATA;
+ /* return -ENODATA;
+ FIXME: hot fix for gst-plugins-good0.10.
+ It does not handle this error code(ENODATA).
+ Thus, using the error code(ENOTTY), it can handle */
+ return -ENOTTY;
/* Return norm array in a canonical way */
for (i = 0; i <= index && id; i++) {