Skip to content

uvcsink: fix caps event handling

The format of the uvcsink may be decided by the UVC host or by the upstream GStreamer pipeline.

If the caps event arrives first, the uvcsink must use these caps to check if the format selection of the host needs a format change on the pipeline.

If the UVC selection arrives first, the caps event did not set the current caps on the pad, yet. Therefore, the uvcsink must not use the current caps in the comparison.

Merge request reports