mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
b6d31c1c72
Original commit message from CVS: Megapatch, changes which states are available, how they're used, and how they're set. Also modifies the scheduling system, breaking pulled buffers. Check mail archives for more details.
17 lines
450 B
C
17 lines
450 B
C
#include <gst/gst.h>
|
|
|
|
int main(int argc,char *argv[]) {
|
|
GstPipeline *pipeline;
|
|
GstElement *src,*sink;
|
|
|
|
gst_init(&argc,&argv);
|
|
|
|
pipeline = gst_pipeline_new("fakepipeline");
|
|
src = gst_elementfactory_make("fakesrc","fakesrc");
|
|
g_return_val_if_fail(1,src != NULL);
|
|
sink = gst_elementfactory_make("fakesink","fakesink");
|
|
g_return_val_if_fail(1,sink != NULL);
|
|
|
|
gst_bin_add(GST_BIN(pipeline),src);
|
|
gst_bin_add(GST_BIN(pipeline),sink);
|
|
}
|