Skip to content

rtmp2sink: Correctly return GST_FLOW_ERROR on error

Arun Raghavan requested to merge arun/gstreamer:rtmp2sink-error-return into main

If there is an error while connecting, the streaming task will be stopped, and is_running() will be false, causing a GST_FLOW_FLUSHING to be returned. Instead, we perform the error check (!self->connection) first, to return an error if that's what occured.

Merge request reports