pipewire/src
Michael Tretter eea3bc22b7 gst: do not send UNKNOWN format
If the video format cannot be detected, GStreamer will return the
UNKNOWN format, which is translated into the Id 0 in the
Spa:Interface:TypeMap, which is added to the pod.

When the pipewire server receives the pod and tries to unmarshal the
pod, it will detect the Id 0. Unable to distinguish Id 0 from a missing
id, the server discards the message as invalid and closes the
connection.

Use the following gstreamer pipeline to reproduce (note the wrong nv12
instead of a correct NV12 format):

	gst-launch-1.0 pipewiresrc ! video/x-raw,format=nv12 ! fakesink
2019-12-19 15:43:10 +01:00
..
daemon loop: pass spa_dict to *_loop_new 2019-12-13 11:34:25 +01:00
examples media-session: cleanup some objects 2019-12-19 15:31:55 +01:00
extensions Make interface types a string 2019-12-19 13:36:04 +01:00
gst gst: do not send UNKNOWN format 2019-12-19 15:43:10 +01:00
modules Make interface types a string 2019-12-19 13:36:04 +01:00
pipewire proxy: never free a proxy automatically 2019-12-19 15:25:21 +01:00
tests Make interface types a string 2019-12-19 13:36:04 +01:00
tools Make interface types a string 2019-12-19 13:36:04 +01:00
.gitignore move things around 2017-07-11 16:08:22 +02:00
meson.build tests: add c++ include test 2019-01-08 13:00:24 +01:00