From: Antonio Ospite Date: Sat, 20 Jul 2013 22:13:33 +0000 (+0200) Subject: am7xxx-play: use am7xxx_send_image_async() X-Git-Tag: v0.1.4~19 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/68c88cb6a713359b60583cc04a47ca7c9a1ad267 am7xxx-play: use am7xxx_send_image_async() Woot, this change alone doubles the frame rate :) --- diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index 21e5187..4506358 100644 --- 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 - ret = am7xxx_send_image(dev, + ret = am7xxx_send_image_async(dev, image_format, (output_ctx.codec_ctx)->width, (output_ctx.codec_ctx)->height,