Revert "client: TEARDOWN brings that state to Init again"

This reverts commit 4b61fdad85.

The object is already disposed, there is no point in setting the state.
This commit is contained in:
Wim Taymans 2012-11-29 17:07:30 +01:00
parent 4b61fdad85
commit 865c9a6b30

View file

@ -675,8 +675,6 @@ handle_teardown_request (GstRTSPClient * client, GstRTSPClientState * state)
send_response (client, session, state->response, TRUE);
gst_rtsp_session_media_set_rtsp_state (media, GST_RTSP_STATE_INIT);
/* we emit the signal before closing the connection */
g_signal_emit (client, gst_rtsp_client_signals[SIGNAL_TEARDOWN_REQUEST],
0, state);