X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/336853d1eb2a1cb84b7995e579c320f754519602..d57e41130a416372145184a8a495ba225a2825d8:/examples/am7xxx-play.c diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index 6b0d206..91c7663 100644 --- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -388,7 +388,11 @@ static int am7xxx_play(const char *input_format_string, /* if we got the complete frame */ if (got_picture) { - /* convert it to YUV */ + /* + * Rescaling the picture also changes its pixel format + * to the raw format supported by the projector if + * this was set in video_output_init() + */ sws_scale(sw_scale_ctx, (const uint8_t * const *)picture_raw->data, picture_raw->linesize, @@ -548,7 +552,7 @@ static char *get_x_screen_size(const char *input_path) static char *get_x_screen_size(const char *input_path) { (void) input_path; - fprintf(stderr, "%s: fallback implementation\n", __func__); + fprintf(stderr, "%s: fallback implementation, assuming a vga screen\n", __func__); return strdup("vga"); } #endif