mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtspsrc: uniform unknown message handling
Do the same processing in all the cases when an unknown message is received. That is, give a warning. https://bugzilla.gnome.org/show_bug.cgi?id=651059
This commit is contained in:
parent
5384308c99
commit
c39b7a5359
1 changed files with 4 additions and 1 deletions
|
@ -4483,11 +4483,14 @@ next:
|
||||||
/* ok, a response is good */
|
/* ok, a response is good */
|
||||||
GST_DEBUG_OBJECT (src, "received response message");
|
GST_DEBUG_OBJECT (src, "received response message");
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
case GST_RTSP_MESSAGE_DATA:
|
case GST_RTSP_MESSAGE_DATA:
|
||||||
/* get next response */
|
/* get next response */
|
||||||
GST_DEBUG_OBJECT (src, "ignoring data response message");
|
GST_DEBUG_OBJECT (src, "ignoring data response message");
|
||||||
goto next;
|
goto next;
|
||||||
|
default:
|
||||||
|
GST_WARNING_OBJECT (src, "ignoring unknown message type %d",
|
||||||
|
response->type);
|
||||||
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
thecode = response->type_data.response.code;
|
thecode = response->type_data.response.code;
|
||||||
|
|
Loading…
Reference in a new issue