diff --git a/gst/multifile/gstmultifilesink.c b/gst/multifile/gstmultifilesink.c index ebc22c265c..c74c20bdda 100644 --- a/gst/multifile/gstmultifilesink.c +++ b/gst/multifile/gstmultifilesink.c @@ -180,7 +180,7 @@ static gboolean gst_multi_file_sink_event (GstBaseSink * sink, static GType gst_multi_file_sink_next_get_type (void) { - static GType multi_file_sync_next_type = 0; + static GType multi_file_sink_next_type = 0; static const GEnumValue next_types[] = { {GST_MULTI_FILE_SINK_NEXT_BUFFER, "New file for each buffer", "buffer"}, {GST_MULTI_FILE_SINK_NEXT_DISCONT, "New file after each discontinuity", @@ -199,12 +199,12 @@ gst_multi_file_sink_next_get_type (void) {0, NULL, NULL} }; - if (!multi_file_sync_next_type) { - multi_file_sync_next_type = + if (!multi_file_sink_next_type) { + multi_file_sink_next_type = g_enum_register_static ("GstMultiFileSinkNext", next_types); } - return multi_file_sync_next_type; + return multi_file_sink_next_type; } #define gst_multi_file_sink_parent_class parent_class