Small fixes to various test apps.

Original commit message from CVS:
Small fixes to various test apps.
This commit is contained in:
Wim Taymans 2001-05-25 10:43:34 +00:00
parent de8d436848
commit 4167e70050
4 changed files with 4 additions and 4 deletions

View file

@ -141,7 +141,7 @@ int main(int argc,char *argv[]) {
g_return_val_if_fail(src != NULL, -1);
gtk_object_set(GTK_OBJECT(src),"location",argv[1],NULL);
g_print("should be using file '%s'\n",argv[1]);
parse = gst_elementfactory_make("parseavi","parse");
parse = gst_elementfactory_make("avidecoder","parse");
g_return_val_if_fail(parse != NULL, -1);
mux = gst_elementfactory_make("system_encode","mux");

View file

@ -29,7 +29,7 @@ main (int argc,char *argv[])
gnome_init("Videotest","0.0.1",argc,argv);
bin = gst_bin_new("bin");
bin = gst_pipeline_new("pipeline");
if (argc == 1) {
src = gst_elementfactory_make ("dv1394src", "src");

View file

@ -10,7 +10,7 @@ int main(int argc,char *argv[]) {
// _gst_plugin_spew = TRUE;
gst_init(&argc,&argv);
bin = gst_bin_new("bin");
bin = gst_pipeline_new("pipeline");
g_return_if_fail(bin != NULL);
g_print("--- creating src and sink elements\n");

View file

@ -27,7 +27,7 @@ main (int argc,char *argv[])
gnome_init("Videotest","0.0.1",argc,argv);
bin = gst_bin_new("bin");
bin = gst_pipeline_new("pipeline");
src = gst_elementfactory_make ("v4lsrc", "src");
gtk_object_set(GTK_OBJECT(src),"format",9,NULL);