Menu

Commit [r3129]  Maximize  Restore  History

A fix when you have a problem when seeting up the video card. And something goes wrong. That lavrec did segfault.

Tha happens when you had 2 input signals and did not select a input source.
It lookes like that:

[Thread -1210651728 (LWP 5382) exited]
INFO: [lavrec] Auto detecting input and norm ...
INFO: [lavrec] Trying Composite ...
INFO: [lavrec] Input present: PAL color
INFO: [lavrec] Trying S-Video ...
INFO: [lavrec] Input present: PAL color
**ERROR: [lavrec] Input signal on more thn one input source... exiting
[New Thread -1228498000 (LWP 5384)]
[Thread -1228498000 (LWP 5384) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210648896 (LWP 5379)]
0xb7ea612c in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) backtrace
#0 0xb7ea612c in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb7f84dba in lavrec_busy (info=0x3) at liblavrec.c:2537
#2 0x0804ae28 in main (argc=1, argv=0xbfab0744) at lavrec.c:1149
(gdb)

That patch fixes that problem.

waldviertler 2006-10-08

changed /trunk/mjpeg_play/lavtools/lavrec.c
/trunk/mjpeg_play/lavtools/lavrec.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.