Module: wine Branch: master Commit: 61d9065315fba14436bb1caf72cb09f029ffb1de URL: https://gitlab.winehq.org/wine/wine/-/commit/61d9065315fba14436bb1caf72cb09f...
Author: Rémi Bernon rbernon@codeweavers.com Date: Tue Jun 6 18:39:41 2023 +0200
winegstreamer: Don't append videoconvert for video/x-wmv output.
---
dlls/winegstreamer/wg_transform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winegstreamer/wg_transform.c b/dlls/winegstreamer/wg_transform.c index 775fed7a46c..25dfb62b08c 100644 --- a/dlls/winegstreamer/wg_transform.c +++ b/dlls/winegstreamer/wg_transform.c @@ -401,7 +401,6 @@ NTSTATUS wg_transform_create(void *args) break;
case WG_MAJOR_TYPE_VIDEO: - case WG_MAJOR_TYPE_VIDEO_WMV: if (!(element = create_element("videoconvert", "base")) || !append_element(transform->container, element, &first, &last)) goto out; @@ -418,13 +417,14 @@ NTSTATUS wg_transform_create(void *args) gst_util_set_object_arg(G_OBJECT(element), "n-threads", "0"); break;
+ case WG_MAJOR_TYPE_UNKNOWN: case WG_MAJOR_TYPE_AUDIO_MPEG1: case WG_MAJOR_TYPE_AUDIO_MPEG4: case WG_MAJOR_TYPE_AUDIO_WMA: case WG_MAJOR_TYPE_VIDEO_CINEPAK: case WG_MAJOR_TYPE_VIDEO_H264: - case WG_MAJOR_TYPE_UNKNOWN: case WG_MAJOR_TYPE_VIDEO_INDEO: + case WG_MAJOR_TYPE_VIDEO_WMV: GST_FIXME("Format %u not implemented!", output_format.major_type); goto out; }