jak nastrihat stream z dvb

Jan Klugl no na spam.cz
Středa Březen 1 18:13:03 CET 2006


> neoodělitelných I, P a B snímků). Pochybuju, že tohle mencoder umí. Ani 
> avidemux to moc neumí. Zato zmiňovaný projectX nebo gopchop to umí 
> spolehlivě. 

projectX je pro me dost pomaly - slaby stroj, java, velke video. Zkousim 
GOPchop, nedari se zkompilovat :( poradi nekdo? Je to na FC4, gcc 4.0.0.

make[1]: Entering directory `/home/dzon/tmp/GOPchop-1.0.0/src'
source='Main.cpp' object='Main.o' libtool=no \
depfile='.deps/Main.Po' tmpdepfile='.deps/Main.TPo' \
depmode=gcc3 /bin/sh ../autotools/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I../include    -g -O2 -c -o Main.o `test -f 'Main.cpp' || echo 
'./'`Main.cpp
Main.cpp: In function 'void show_error(char*)':
Main.cpp:308: error: invalid lvalue in assignment
Main.cpp: In function 'void show_GOP(uint32_t)':
Main.cpp:1385: error: invalid lvalue in assignment
Main.cpp:1402: error: invalid lvalue in assignment
Main.cpp: In function 'int main(int, char**)':
Main.cpp:1720: error: 'LC_ALL' was not declared in this scope
Main.cpp:1720: error: 'setlocale' was not declared in this scope
make[1]: *** [Main.o] Error 1
make[1]: Leaving directory `/home/dzon/tmp/GOPchop-1.0.0/src'
make: *** [all-recursive] Error 1

main.cpp snippet, radek 308 je ten g_realloc; prototyp g_realloc jsem 
neobjevil:

void show_error(char *text)
{
     static gchar *str = NULL;

     // text needs a static area, I think... ?
     (void *) str = g_realloc(str, strlen(text) + 1);	RADEK 308
     strcpy(str, text);

     gtk_text_freeze(GTK_TEXT(error_text_why));
     gtk_text_set_point(GTK_TEXT(error_text_why), 0);
     gtk_text_forward_delete(GTK_TEXT(error_text_why),
                             gtk_text_get_length(GTK_TEXT(error_text_why)));
     gtk_text_insert(GTK_TEXT(error_text_why), NULL, NULL, NULL,
                     (str), strlen(str));
     gtk_text_set_point(GTK_TEXT(error_text_why),
                        gtk_text_get_length(GTK_TEXT(error_text_why)));
     gtk_text_thaw(GTK_TEXT(error_text_why));

     gtk_widget_show(GTK_WIDGET(error_dialog));
}


Další informace o konferenci Linux