mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
c50aa69137
Original commit message from CVS: add actions. see ChangeLog for details
20 lines
348 B
C
20 lines
348 B
C
|
|
#include <gst/gst.h>
|
|
|
|
|
|
void
|
|
do_test (void)
|
|
{
|
|
GstElement *pipeline;
|
|
|
|
gst_init (NULL, NULL);
|
|
|
|
pipeline = gst_parse_launch ("fakesrc num-buffers=100 ! fakesink", NULL);
|
|
g_assert (pipeline != NULL);
|
|
|
|
|
|
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
|
gst_bin_iterate (GST_BIN (pipeline));
|
|
|
|
gst_object_unref (GST_OBJECT (pipeline));
|
|
}
|