mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 22:28:22 +00:00
Small fixes to various test apps.
Original commit message from CVS: Small fixes to various test apps.
This commit is contained in:
parent
de8d436848
commit
4167e70050
4 changed files with 4 additions and 4 deletions
|
@ -141,7 +141,7 @@ int main(int argc,char *argv[]) {
|
||||||
g_return_val_if_fail(src != NULL, -1);
|
g_return_val_if_fail(src != NULL, -1);
|
||||||
gtk_object_set(GTK_OBJECT(src),"location",argv[1],NULL);
|
gtk_object_set(GTK_OBJECT(src),"location",argv[1],NULL);
|
||||||
g_print("should be using file '%s'\n",argv[1]);
|
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);
|
g_return_val_if_fail(parse != NULL, -1);
|
||||||
|
|
||||||
mux = gst_elementfactory_make("system_encode","mux");
|
mux = gst_elementfactory_make("system_encode","mux");
|
||||||
|
|
|
@ -29,7 +29,7 @@ main (int argc,char *argv[])
|
||||||
|
|
||||||
gnome_init("Videotest","0.0.1",argc,argv);
|
gnome_init("Videotest","0.0.1",argc,argv);
|
||||||
|
|
||||||
bin = gst_bin_new("bin");
|
bin = gst_pipeline_new("pipeline");
|
||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
src = gst_elementfactory_make ("dv1394src", "src");
|
src = gst_elementfactory_make ("dv1394src", "src");
|
||||||
|
|
|
@ -10,7 +10,7 @@ int main(int argc,char *argv[]) {
|
||||||
// _gst_plugin_spew = TRUE;
|
// _gst_plugin_spew = TRUE;
|
||||||
gst_init(&argc,&argv);
|
gst_init(&argc,&argv);
|
||||||
|
|
||||||
bin = gst_bin_new("bin");
|
bin = gst_pipeline_new("pipeline");
|
||||||
g_return_if_fail(bin != NULL);
|
g_return_if_fail(bin != NULL);
|
||||||
|
|
||||||
g_print("--- creating src and sink elements\n");
|
g_print("--- creating src and sink elements\n");
|
||||||
|
|
|
@ -27,7 +27,7 @@ main (int argc,char *argv[])
|
||||||
|
|
||||||
gnome_init("Videotest","0.0.1",argc,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");
|
src = gst_elementfactory_make ("v4lsrc", "src");
|
||||||
gtk_object_set(GTK_OBJECT(src),"format",9,NULL);
|
gtk_object_set(GTK_OBJECT(src),"format",9,NULL);
|
||||||
|
|
Loading…
Reference in a new issue