~emersion/vaapi-decoder

e328c2ba4f01bd73a83a875cb6e35cc2969b688b — Simon Ser 9 months ago 443046e master
Log stream geometry and pixel format
1 files changed, 2 insertions(+), 0 deletions(-)

M main.c
M main.c => main.c +2 -0
@@ 200,6 200,8 @@ int main(int argc, char *argv[]) {
		fprintf(stderr, "Failed to fill decoder context from video parameters\n");
		return 1;
	}
	fprintf(stderr, "Stream geometry: %dx%d\n", decoder_ctx->width, decoder_ctx->height);
	fprintf(stderr, "Stream pixel format %s\n", av_get_pix_fmt_name(decoder_ctx->pix_fmt));

	decoder_ctx->get_format = get_hw_format;