diff options
author | David Schleef <ds@schleef.org> | 2013-04-08 23:17:46 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2013-04-08 23:17:46 -0700 |
commit | fbb5ded64350b3364c4b917130ae3d8c37a3c689 (patch) | |
tree | ddf6b64e5367e1361cf19648c0f334814369e3b4 | |
parent | ed822e19de772b33b801526a861dbadaba47f648 (diff) | |
download | gstreamer-plugins-bad-fbb5ded64350b3364c4b917130ae3d8c37a3c689.tar.gz |
rtmpsrc: unlock and close socket more directly
The other way caused segfaults.
-rw-r--r-- | ext/rtmp/gstrtmpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index 0388a7b33..25fec1bb4 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -591,7 +591,7 @@ gst_rtmp_src_unlock (GstBaseSrc * basesrc) /* This closes the socket, which means that any pending socket calls * error out. */ if (rtmpsrc->rtmp) { - RTMP_Close (rtmpsrc->rtmp); + RTMPSockBuf_Close (&rtmpsrc->rtmp->m_sb); } return TRUE; |