From 368f85114cf03c192a256f12ca656010cc6f3f07 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 23 May 2001 20:35:26 +0000 Subject: [PATCH] Some small modifications. Original commit message from CVS: Some small modifications. --- test/video2mp1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/video2mp1.c b/test/video2mp1.c index 79b3a50c91..786f765350 100644 --- a/test/video2mp1.c +++ b/test/video2mp1.c @@ -54,7 +54,6 @@ gst_play_typefind (GstBin *bin, GstElement *element) gst_pad_disconnect (gst_element_get_pad (element, "src"), gst_element_get_pad (typefind, "sink")); gst_bin_remove (bin, typefind); - gst_object_unref (GST_OBJECT (typefind)); return caps; } @@ -174,6 +173,7 @@ int main(int argc,char *argv[]) exit (-1); } + gst_object_ref (GST_OBJECT (disksrc)); gst_bin_remove (GST_BIN (bin), disksrc); gst_object_destroy (GST_OBJECT (bin));