[Mplayerxp-cvslog] SF.net SVN: mplayerxp:[563] TODO
Brought to you by:
olov
From: <nic...@us...> - 2012-12-15 13:09:39
|
Revision: 563 http://mplayerxp.svn.sourceforge.net/mplayerxp/?rev=563&view=rev Author: nickols_k Date: 2012-12-15 13:09:33 +0000 (Sat, 15 Dec 2012) Log Message: ----------- New planes! About illegal patch: why 'this' not first argument??? is it still c++ or is it perfectly other language??? Breakpoint 1, mpxp::query_interface (sd=...) at ao_alsa9.cpp:1013 1013 static AO_Interface* query_interface(const std::string& sd) { return new(zeromem) Alsa_AO_Interface(sd); } (gdb) s operator new (size=88) at mp_malloc.cpp:574 574 any_t *operator new(size_t size,const zeromemory_t&) { return SECURE_NAME1(_mp_mallocz)(size); } (gdb) n x1840952739 (size=88) at mp_malloc.cpp:549 549 any_t* SECURE_NAME1(_mp_mallocz)(size_t size) { (gdb) n 551 ptr = mp_mallocz(size); (gdb) n 552 if(!ptr) { (gdb) n 557 } (gdb) n mpxp::query_interface (sd=...) at ao_alsa9.cpp:1013 1013 static AO_Interface* query_interface(const std::string& sd) { return new(zeromem) Alsa_AO_Interface(sd); } (gdb) s Alsa_AO_Interface (_subdevice=..., this=<optimized out>) at ao_alsa9.cpp:1013 1013 static AO_Interface* query_interface(const std::string& sd) { return new(zeromem) Alsa_AO_Interface(sd); } (gdb) s AO_Interface (_subdevice=..., this=<optimized out>) at audio_out_internal.h:11 11 AO_Interface(const std::string& _subdevice):subdevice(_subdevice) {} (gdb) print _subdevice $1 = <optimized out> (gdb) s mpxp::query_interface (sd=...) at ao_alsa9.cpp:1013 1013 static AO_Interface* query_interface(const std::string& sd) { return new(zeromem) Alsa_AO_Interface(sd); } (gdb) print sd $2 = (const std::string &) @0x18dcff0: {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}} (gdb) s Alsa_AO_Interface (_subdevice=..., this=0x19b6fa8) at ao_alsa9.cpp:1013 1013 static AO_Interface* query_interface(const std::string& sd) { return new(zeromem) Alsa_AO_Interface(sd); } (gdb) s AO_Interface (_subdevice=..., this=0x19b6fa8) at audio_out_internal.h:11 11 AO_Interface(const std::string& _subdevice):subdevice(_subdevice) {} (gdb) print _subdevice $3 = (const std::string &) @0x18dcff0: {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}} (gdb) s Program received signal SIGSEGV, Segmentation fault. std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (this=0x19b6fb0, __str=...) at ..../gcc/gcc-4.5.4/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:173 173 __str.get_allocator()) Modified Paths: -------------- TODO Modified: TODO =================================================================== --- TODO 2012-12-15 11:18:09 UTC (rev 562) +++ TODO 2012-12-15 13:09:33 UTC (rev 563) @@ -1,5 +1,16 @@ TODO for mplayerxp: +- Implement libmpdemux3: + class Demuxer_Driver { + Demuxer_Driver(Demuxer& parent); + virtual ~Demuxer_Driver(); + virtual MPXP_Rc probe(int force); + virtual MPXP_Rc open(); + virtual void close(); + virtual MPXP_Rc seek(float secs_from_begin_of_stream); + virtual Demuxer_Packet* read_new_packet(); + }; + driver must not perform demultiplexing - just packet reading. - Implement demux_rawstream.cpp specially for libmpstream/s_tv.cpp - Problem: it seems that demuxer doesn't differ bitmap-based subtitles from Closed Caption (plain ascii-text) ones. Because of this some demuxer's @@ -36,7 +47,3 @@ - implement distributed video playback with using of PVM. (need volunteers) - run filters in independent threads (useful for encoding) - use original wine instead of loader. (adapt DMO_filter.so for wine) -- redesign demux_mkv and other in demux_asf like manner. (will allow to avoid 1 - unnecessary memcpy for input video bandwidth) -- remove DEMUXER_TYPE_* and STREAMTYPE_* (make modules in libmpdemux more - independent ones) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |