tests: remove unused filename string from appsink-src2

This commit is contained in:
Luis de Bethencourt 2015-04-07 15:32:35 +01:00
parent 1cee257804
commit e254806e4a

View file

@ -112,7 +112,6 @@ on_sink_message (GstBus * bus, GstMessage * message, ProgramData * data)
int int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {
gchar *filename = NULL;
ProgramData *data = NULL; ProgramData *data = NULL;
gchar *string = NULL; gchar *string = NULL;
GstBus *bus = NULL; GstBus *bus = NULL;
@ -130,7 +129,6 @@ main (int argc, char *argv[])
string = string =
g_strdup_printf g_strdup_printf
("audiotestsrc num-buffers=200 ! wavenc ! wavparse ! appsink name=testsink"); ("audiotestsrc num-buffers=200 ! wavenc ! wavparse ! appsink name=testsink");
g_free (filename);
data->source = gst_parse_launch (string, NULL); data->source = gst_parse_launch (string, NULL);
g_free (string); g_free (string);