[vlc-devel] Matroska seek fix updated

Jean-Baptiste Kempf jb at videolan.org
Tue Oct 18 12:30:13 CEST 2011


On Sun, Oct 16, 2011 at 10:47:15PM +0200, Denis Charmet wrote :
> Same fix than earlier with less memleak and useless new empty line

Cool. Works fine, but, when rewinding before 0 (ctrl+left key), I get,
on the Matrix sample:

EbmlParser::Get (this=0x8523f80) at ../../../../modules/demux/mkv/Ebml_parser.cpp:168
168         m_el[mi_level] = m_es->FindNextElement( EBML_CONTEXT(m_el[mi_level - 1]),
(gdb) bt
#0  EbmlParser::Get (this=0x8523f80) at ../../../../modules/demux/mkv/Ebml_parser.cpp:168
#1  0xb3f63a40 in matroska_segment_c::BlockGet (this=0x81dea68, pp_block=@0xb59feff4, pp_simpleblock=@0xb59feff8, pb_key_picture=0xb59fefff, pb_discardable_picture=0xb59feffe, pi_duration=0xb59fefe0)
    at ../../../../modules/demux/mkv/matroska_segment.cpp:1360
#2  0xb3f6509c in matroska_segment_c::Seek (this=0x81dea68, i_date=0, i_time_offset=0, i_global_position=-1) at ../../../../modules/demux/mkv/matroska_segment.cpp:840
#3  0xb3f5c8c4 in virtual_segment_c::Seek (this=0x8206e40, demuxer=..., i_date=0, i_time_offset=<optimized out>, p_chapter=<optimized out>, i_global_position=-1)
    at ../../../../modules/demux/mkv/virtual_segment.cpp:457
#4  0xb3f58612 in Seek (p_demux=<optimized out>, i_date=0, f_percent=-1, p_chapter=0x0) at ../../../../modules/demux/mkv/mkv.cpp:457
#5  0xb3f58f5f in Control (p_demux=0x81cba88, i_query=4, args=0xb59ff1e0 "\001") at ../../../../modules/demux/mkv/mkv.cpp:393
#6  0xb7f2165d in demux_vaControl (args=0xb59ff1d8 "", i_query=4, p_demux=0x81cba88) at ../../src/input/demux.h:48
#7  demux_Control (p_demux=0x81cba88, i_query=4) at ../../src/input/demux.h:56
#8  0xb7f27194 in Control (p_input=0xb5a00538, i_type=4, val=...) at ../../src/input/input.c:1756
#9  0xb7f282a0 in MainLoop (p_input=0xb5a00538, b_interactive=<optimized out>) at ../../src/input/input.c:828
#10 0xb7f294c4 in Run (obj=0xb5a00538) at ../../src/input/input.c:553
#11 0xb7e33c39 in start_thread (arg=0xb59ffb70) at pthread_create.c:304
#12 0xb7d9b96e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list