projects
/
platform
/
adaptation
/
emulator
/
gst-plugins-emulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0012b01
)
Fix incorrect ioctl handling at version check.
48/29248/1
author
gunsoo83.kim
<gunsoo83.kim@samsung.com>
Thu, 23 Oct 2014 08:05:23 +0000
(17:05 +0900)
committer
gunsoo83.kim
<gunsoo83.kim@samsung.com>
Thu, 23 Oct 2014 08:05:23 +0000
(17:05 +0900)
- When the emulator plugin is checking the codec version,
fix incorrect the ioctl handling.
Change-Id: I372a1686a880fe567837d392241fbd83b7d2db3c
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
src/gstmaru.c
patch
|
blob
|
history
diff --git
a/src/gstmaru.c
b/src/gstmaru.c
index
b858dbd
..
95aedf3
100644
(file)
--- a/
src/gstmaru.c
+++ b/
src/gstmaru.c
@@
-73,7
+73,7
@@
gst_maru_codec_element_init ()
// get device version
// if version 3
device_version = interface_version_3->get_device_version(fd);
- if (device_version
== -EINVAL
) {
+ if (device_version
< 0
) {
// if version 2
device_version = interface_version_2->get_device_version(fd);
}