Edited by MickJT on 2011/8/25 12:21:33 Edited by MickJT on 2011/8/26 21:06:15 Edited by MickJT on 2011/8/27 13:28:53 Edited by MickJT on 2011/8/27 13:48:32
Everyone uses it in their own way. I test it in my own way, others test it their own way and might find things I won't spot.
I believe at the moment, .mkv creation is likely to throw up an "insert volume" requester or two. I haven't tried it yet, but that's what happened on the last version before I commented out the checks for devices that don't exist.
I believe at the moment, .mkv creation is likely to throw up an "insert volume" requester or two. I haven't tried it yet, but that's what happened on the last version before I commented out the checks for devices that don't exist.
You can get rid of requesters like this:
/* stop any "Insert volume..." type requesters APTR oldwin = IDOS->SetProcWindow((APTR)-1);
/* turn requesters back on */ IDOS->SetProcWindow( oldwin );
Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
TSK wrote: You can get rid of requesters like this:
/* stop any "Insert volume..." type requesters APTR oldwin = IDOS->SetProcWindow((APTR)-1);
/* turn requesters back on */ IDOS->SetProcWindow( oldwin );
Thanks for that. Might come in handy sometime. In the meantime though, i'll comment out the offending code, because it's not related to anything you input on the command line.
@MickJT I'm trying to compile my program and get this error: /SDK/local/newlib/lib/libswscale.a(utils.o): In function `sws_init_context': /Other/ffmpeg-0.8.2/libswscale/utils.c:785: undefined reference to `av_get_cpu_flags'
I'm trying to compile my program and get this error: /SDK/local/newlib/lib/libswscale.a(utils.o): In function `sws_init_context': /Other/ffmpeg-0.8.2/libswscale/utils.c:785: undefined reference to `av_get_cpu_flags'
I'm no expert on ffmpeg libraries but av_get_cpu_flags() sounds like a utility function so it's probably in libavutil. If that is the case you should move the -lavutil so it comes after -lswscale on the commandline: -lauto -L/SDK/local/newlib/lib -lavformat -lavcodec -lswscale -lavutil -lxvidcore -lx264 -lvpx -lvorbisenc -lvorbis -logg -lvo-amrwbenc -lvo-aacenc -ltheoraenc -ltheoradec -logg -lspeex -L/SDK/local/newlib/lib -lrtmp -lz -lssl -lcrypto -lopenjpeg -lopencore-amrwb -lopencore-amrnb -lnut -lmp3lame -lgsm -lfreetype -lfaac -lm -lpthread -lbz2 -lz -lm -O0 [/quote]
Thanks everybody ! So a lib which is needed by another one have to be behind it and not in front of it. Well the old order worked with 0.7.9. Anyway...
Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray