diff options
author | Thijs Vermeir <thijsvermeir@gmail.com> | 2007-09-26 16:44:42 +0000 |
---|---|---|
committer | Thijs Vermeir <thijsvermeir@gmail.com> | 2007-09-26 16:44:42 +0000 |
commit | ccfbe1569dbd19fecd4bcfae298cbee9c9345d29 (patch) | |
tree | 07d22aaf8a24e3aab806d97dc99d4ce4c4fd8754 /gst/librfb | |
parent | 188ce39697a43b0aac433ba55c6f496399d52843 (diff) | |
download | gst-plugins-bad-ccfbe1569dbd19fecd4bcfae298cbee9c9345d29.tar.gz gst-plugins-bad-ccfbe1569dbd19fecd4bcfae298cbee9c9345d29.tar.bz2 gst-plugins-bad-ccfbe1569dbd19fecd4bcfae298cbee9c9345d29.zip |
gst/librfb/gstrfbsrc.c: fix bug from generic/states.gdb
Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
fix bug from generic/states.gdb
Diffstat (limited to 'gst/librfb')
-rw-r--r-- | gst/librfb/gstrfbsrc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index b207030e..8aeed6c6 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -171,6 +171,7 @@ gst_rfb_src_dispose (GObject * object) GstRfbSrc *src = GST_RFB_SRC (object); g_free (src->host); + rfb_decoder_free (src->decoder); G_OBJECT_CLASS (parent_class)->dispose (object); } @@ -343,7 +344,7 @@ gst_rfb_src_stop (GstBaseSrc * bsrc) { GstRfbSrc *src = GST_RFB_SRC (bsrc); - rfb_decoder_free (src->decoder); + src->decoder->fd = -1; if (src->frame) { g_free (src->frame); |