PipeWireBaseEncodedStream: Apply a requested size set before starting

setRequestedSize() only forwarded the size to an existing produce, and start() did not pass it to the one it creates, so a size requested before starting the stream was lost and the stream kept the producer's default size.

krdp runs into this: it sets the size the RDP client asked for on its PipeWireEncodedStream before starting it, so a resizable virtual output stays at its default size when H.264 is used. The non-encoded PipeWireSourceStream path is not affected.

Tested with krdp streaming a portal virtual output to mstsc at 3840x2160. Without the patch the stream negotiates without a size and stays at 1920x1080; with it the stream and output become 3840x2160.

Merge request reports

Loading
Loading