ivfparse: Don't set zero resolution on caps
authorSeungha Yang <seungha@centricular.com>
Tue, 30 Mar 2021 10:23:12 +0000 (19:23 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 10 Feb 2022 20:30:40 +0000 (20:30 +0000)
commit66b176322ca7ee019d1b27e4b59d607b1c870c6b
treed02873b19dee5ba4ff22fa12c1db5db106491650
parent2c93afd8bb3fbc76870e06e28ca53e2b1115a380
ivfparse: Don't set zero resolution on caps

It could be zero if the information is not available at ivfparse
side, or not implemented. In that case, simply don't set
width/height on caps, otherwise downstream would be confused

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1649>
subprojects/gst-plugins-bad/gst/ivfparse/gstivfparse.c