Nirbheek Chauhan f3665ce800 gstvalue: Implement union for GstFractionRange
This fixes simplification of caps with GstFractionRange structures,
for example, this caps:

  video/x-raw, framerate=(fraction)5/1; video/x-raw, framerate=(fraction)[ 5/1, 30/1 ]

can now be simplified to:

  video/x-raw, framerate=(fraction)[ 5/1, 30/1 ]

instead of:

  video/x-raw, framerate=(fraction){ 5/1, [ 5/1, 30/1 ] }

And this:

  video/x-raw, framerate=(fraction)[ 2/1, 5/1 ]; video/x-raw, framerate=(fraction)[ 5/1, 30/1 ]

can be simplified to:

  video/x-raw, framerate=(fraction)[ 2/1, 30/1 ]

instead of

  video/x-raw, framerate=(fraction){ [ 2/1, 5/1 ], [ 5/1, 30/1 ] }

This fixes overly-complicated GL caps set by avfvideosrc on macOS and
iOS when capturing from a webcam.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4132>
2023-03-11 04:15:13 +00:00
..
2023-01-24 15:25:06 +00:00
2022-04-01 08:15:53 +00:00
2023-01-24 15:25:05 +00:00
2022-11-09 16:03:58 +00:00
2023-01-24 15:25:05 +00:00
2022-12-20 14:03:35 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2022-10-18 13:51:16 +03:00
2022-10-22 22:06:13 +09:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:05 +00:00
2023-01-24 15:25:06 +00:00
2023-01-24 15:25:06 +00:00
2023-01-24 15:25:06 +00:00
2023-01-24 15:25:06 +00:00
2023-01-24 15:25:05 +00:00