diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/audioresample/gstaudioresample.c | 9 | ||||
-rw-r--r-- | ext/x264/gstx264enc.c | 3 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/audioresample/gstaudioresample.c b/ext/audioresample/gstaudioresample.c index 6b63db33..8971824a 100644 --- a/ext/audioresample/gstaudioresample.c +++ b/ext/audioresample/gstaudioresample.c @@ -61,15 +61,16 @@ enum "endianness = (int) BYTE_ORDER, " \ "width = (int) 16, " \ "depth = (int) 16, " \ - "signed = (boolean) true") - + "signed = (boolean) true" #if 0 - /* disabled because it segfaults */ + /* disabled because it segfaults */ "audio/x-raw-float, " "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ], " - "endianness = (int) BYTE_ORDER, " "width = (int) 32") + "endianness = (int) BYTE_ORDER, " "width = (int) 32" #endif + ) + static GstStaticPadTemplate gst_audioresample_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, SUPPORTED_CAPS); 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 |