#include <unistd.h>
#endif
+#include <glib/gstdio.h>
+
#include <gst/check/gstcheck.h>
#include <gst/pbutils/encoding-profile.h>
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_static_pad_template (element_class,
- &sink_template);
+ gst_element_class_add_static_pad_template (element_class, &sink_template);
gst_element_class_add_static_pad_template (element_class, &src_template);
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Encoder",
(guint) gst_util_uint64_scale_round ((guint64) total_bytes,
(guint64) 8 * GST_SECOND, (guint64) total_duration);
fail_unless (bitrate == expected);
+ gst_tag_list_free (taglist);
}
+
+ /* delete file */
+ g_unlink (location);
+ g_free (location);
}
GST_START_TEST (test_average_bitrate)