Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using SDL:
- VM@VM-PC MSYS ~/mltBuild/mlt/build
- $ gcc test.c -lmlt -L/c/msys32/home/VM/mltBuild/mlt/build/lib && ./a.exe
- start
- Creating consumer 003B67E0
- Creating producer 002ED260
- Connecting 002ED260 to 003B67E0
- Starting consumer 003B67E0
- Wait for consumer
- Wait more for consumer...
- Wait more for consumer...
- (... forever. SDL window is spawned but is unresponsive, using 1 full cpu core)
- // Let's say maybe it is a problem with SDL on windows. Using avformat. Pointing to valid file and valid writable directory.
- mlt_consumer consumer = mlt_factory_consumer(NULL, "avformat", "C:\\msys32\\home\\VM\\mltBuild\\mlt\\build\\OUT.mp4");
- mlt_producer producer = mlt_factory_producer(NULL, "avformat", "C:\\msys32\\home\\VM\\mltBuild\\mlt\\build\\test.mp4");
- VM@VM-PC MSYS ~/mltBuild/mlt/build
- $ gcc test.c -lmlt -L/c/msys32/home/VM/mltBuild/mlt/build/lib && ./a.exe
- Segmentation fault
- In GDB:
- $ gdb a.exe
- GNU gdb (GDB) 7.10.1
- Copyright (C) 2015 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "i686-w64-mingw32".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from a.exe...done.
- (gdb) r
- The program being debugged has been started already.
- Start it from the beginning? (y or n) [answered Y; input not from terminal]
- Starting program: C:\msys32\home\VM\mltBuild\mlt\build\a.exe
- [New Thread 3016.0x534]
- [New Thread 3016.0x9c0]
- [New Thread 3016.0xc08]
- [New Thread 3016.0xec8]
- [New Thread 3016.0xf78]
- [New Thread 3016.0xd44]
- [New Thread 3016.0x4ec]
- [New Thread 3016.0xe84]
- [New Thread 3016.0xf98]
- [New Thread 3016.0x24c]
- [New Thread 3016.0x9f0]
- [New Thread 3016.0xa78]
- [New Thread 3016.0x400]
- Program received signal SIGSEGV, Segmentation fault.
- [Switching to Thread 3016.0x9c0]
- convert_image (self=self@entry=0x1ae5958, frame=0x24c4800,
- buffer=0xc1f0040 "", pix_fmt=0, format=format@entry=0x2db21c, width=720,
- height=576, alpha=alpha@entry=0x272fdc4) at producer_avformat.c:1361
- 1361 mlt_log_debug( MLT_PRODUCER_SERVICE(self->parent), "%s @ %dx%d space %d->%d\n",
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement