diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gst/librfb/gstrfbsrc.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-09-26 Thijs Vermeir <thijsvermeir@gmail.com> + + * gst/librfb/gstrfbsrc.c: + fix bug from generic/states.gdb + 2007-09-26 Julien MOUTTE <julien@moutte.net> * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), 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); |