2 * Copyright (C) 2004 David A. Schleef <ds@schleef.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public
15 * License along with this library; if not, write to the Free
16 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 main (gint argc, gchar * argv[])
28 gst_init (&argc, &argv);
30 caps = gst_caps_from_string ("audio/x-raw-int, rate=44100");
32 element = gst_element_factory_make ("identity", NULL);
34 GST_ERROR ("This should print caps: %" GST_PTR_FORMAT, caps);
35 GST_ERROR ("This should print an object: %" GST_PTR_FORMAT, element);
36 GST_ERROR ("This should print null: %" GST_PTR_FORMAT, NULL);
37 GST_ERROR ("This should print a pointer: %" GST_PTR_FORMAT, &zero);
38 //GST_ERROR ("This should print a pointer: %" GST_PTR_FORMAT, (void *)1);