From 5fc338cffb78ce377a41aff6fe03488b90f2db3a Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 19 May 2025 12:02:48 +0200 Subject: [PATCH] get_video_desc_from_string: interl. unless progr. all interlacing modes are actually interlaced except PROGRESSIVE --- src/video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video.cpp b/src/video.cpp index 6274d9d32..2eb4d2806 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -7,7 +7,7 @@ * These function are neither video frame nor video codec related. */ /* - * Copyright (c) 2013 CESNET, z. s. p. o. + * Copyright (c) 2013-2025 CESNET * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -378,7 +378,7 @@ struct video_desc get_video_desc_from_string(const char *string) MSG(ERROR, "Unrecognized video mode: %s\n", string); return {}; } - ret.fps = parse_fps(string, ret.interlacing == INTERLACED_MERGED); + ret.fps = parse_fps(string, ret.interlacing != PROGRESSIVE); if (ret.fps < .0) { return {}; }