mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
ipcpipeline: Check the proper value
The code is meant to check the *peer* state change return value (and not the sink's one). CID #1416128
This commit is contained in:
parent
b97a4a833a
commit
00cfa72085
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ gst_ipc_pipeline_sink_change_state (GstElement * element,
|
|||
GST_DEBUG_OBJECT (sink, "Calling peer with state change");
|
||||
peer_ret = gst_ipc_pipeline_comm_write_state_change_to_fd (&sink->comm,
|
||||
transition);
|
||||
if (ret == GST_STATE_CHANGE_FAILURE && down) {
|
||||
if (peer_ret == GST_STATE_CHANGE_FAILURE && down) {
|
||||
GST_WARNING_OBJECT (sink, "Peer returned state change failure, "
|
||||
"but ignoring because we are going down");
|
||||
peer_ret = GST_STATE_CHANGE_SUCCESS;
|
||||
|
|
Loading…
Reference in a new issue