projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
860428c
)
am7xxx-play: use am7xxx_send_image_async()
author
Antonio Ospite <ospite@studenti.unina.it>
Sat, 20 Jul 2013 22:13:33 +0000
(
00:13
+0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Sat, 20 Jul 2013 22:20:06 +0000
(
00:20
+0200)
Woot, this change alone doubles the frame rate :)
examples/am7xxx-play.c
patch
|
blob
|
history
diff --git
a/examples/am7xxx-play.c
b/examples/am7xxx-play.c
index
21e5187
..
4506358
100644
(file)
--- a/
examples/am7xxx-play.c
+++ b/
examples/am7xxx-play.c
@@
-427,7
+427,7
@@
static int am7xxx_play(const char *input_format_string,
fclose(file);
#endif
fclose(file);
#endif
- ret = am7xxx_send_image(dev,
+ ret = am7xxx_send_image
_async
(dev,
image_format,
(output_ctx.codec_ctx)->width,
(output_ctx.codec_ctx)->height,
image_format,
(output_ctx.codec_ctx)->width,
(output_ctx.codec_ctx)->height,