source: trunk/third/gstreamer/testsuite/caps/structure.c @ 21005

Revision 21005, 350 bytes checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21004, which included commits to RCS files with non-trunk default branches.
Line 
1
2#include <gst/gst.h>
3
4
5void
6test1 (void)
7{
8  GstStructure *structure;
9
10  g_print ("type is %d\n", (int) gst_structure_get_type ());
11
12  structure = gst_structure_empty_new ("moo");
13  g_assert (structure != NULL);
14  g_assert (GST_IS_STRUCTURE (structure));
15}
16
17int
18main (int argc, char *argv[])
19{
20  gst_init (&argc, &argv);
21
22  test1 ();
23
24  return 0;
25}
Note: See TracBrowser for help on using the repository browser.