fix initialization

Original commit message from CVS:
fix initialization
This commit is contained in:
David Schleef 2003-07-26 04:23:32 +00:00
parent 2b84f96322
commit 949ec5d0cb
2 changed files with 2 additions and 2 deletions

View file

@ -3,5 +3,5 @@ examples = indexmpeg
noinst_PROGRAMS = $(examples) noinst_PROGRAMS = $(examples)
# we have nothing but apps here, we can do this safely # we have nothing but apps here, we can do this safely
LIBS = $(GST_LIBS) $(GTK_LIBS) $(FT2_LIBS) LIBS = $(GST_LIBS) $(GTK_LIBS)
AM_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) AM_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)

View file

@ -215,7 +215,7 @@ main (gint argc, gchar *argv[])
POPT_TABLEEND POPT_TABLEEND
}; };
if (!gst_init_with_popt_table (&argc, &argv, options) || argc < 3) { if (!gst_init_check_with_popt_table (&argc, &argv, options) || argc < 3) {
g_print ("usage: %s [-v] <type> <filename> \n" g_print ("usage: %s [-v] <type> <filename> \n"
" type can be: 0 mpeg_systems\n" " type can be: 0 mpeg_systems\n"
" 1 mpeg_decoder\n" " 1 mpeg_decoder\n"