summaryrefslogtreecommitdiffstats
path: root/ext/x264
diff options
context:
space:
mode:
Diffstat (limited to 'ext/x264')
-rw-r--r--ext/x264/gstx264enc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index 4841755a..21693b8d 100644
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
@@ -664,10 +664,9 @@ gst_x264_enc_dispose (GObject * object)
encoder->buffer = NULL;
gst_x264_enc_timestamp_queue_free (encoder);
+ gst_x264_enc_close_encoder (encoder);
G_OBJECT_CLASS (parent_class)->dispose (object);
-
- gst_x264_enc_close_encoder (encoder);
}
static gboolean