[Mplayerxp-cvslog] SF.net SVN: mplayerxp:[626] mplayerxp
Brought to you by:
olov
From: <nic...@us...> - 2012-12-29 17:26:40
|
Revision: 626 http://mplayerxp.svn.sourceforge.net/mplayerxp/?rev=626&view=rev Author: nickols_k Date: 2012-12-29 17:26:32 +0000 (Sat, 29 Dec 2012) Log Message: ----------- *** This is the last message (at least in this year!) *** Comments about illegal-patch: changeset[580]: gdb shows that copy g++ which i use for developemnt has been hacked by malefactor(s) for their dark deals. Furthermore, any copy of gcc, which i had, ignored: #ifdef NDEBUG directive exactly for mplayer* projects. That happens since my participation in mplayerhq development. changeset[611]: gdb shows that real segfault has been happened within of illegal patch, but malefactor(s) have masked its sources by legal sources of the project. Else impossibly to explain how instruction pointer have jumped from: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.4/../../../../include/c++/4.5.4/bits/vector.tcc:159 to: cfgparser.cpp:160 Reading this log above: warning: Could not load shared library symbols for linux-vdso.so.1 it's strange that gdb attempts to read symbols from pure virtual object. May it exists in form of real object on HDD? $ldconfig -p | grep vdso shows empty result. But my doubts about vdso are explainted below. changeset[623]: It's clear that malefactor(s) substituted context of glibc. Else impossibly to explain how these logic errors never throw segfaults early. changeset[625]: It's clear that illegal-patch receives control before main() function. Else impossibly to explain why environment contains additional 0x21 (33) arguments (if i correctly understand the ?read-only? value of envp[j+1] which comes right after official NULL in envp[j]). Well, where exist the illegal-patch since it can't exist in air? Most probably, it exists on the HDD where i perform development of the project. In this case, the system contains hacked linux-kernel with other illegal-patch which hides from me some files and directories (including so far non-virtual linux-vdso.so.1). Moreover, the system contains hacked 'make' utility which hides from me viral subfolder with illegal-patch. My current environment: Linux kas-wifi.ap 3.6.6 #1 SMP PREEMPT Fri Nov 9 19:27:30 MSK 2012 x86_64 GNU/Linux g++ (GCC) 4.5.4 GNU ld (GNU Binutils) 2.23 ldd (GNU libc) 2.16 GNU gdb (GDB) 7.5 GNU Make 3.81 After all i would say that development of the project has been turned into war between malefactor(s) and me. I'm spending much more my efforts not for improvements but for rewritting some places of the project in way of simplification to make them unusable for illegal-patch. (Fresh example: struct config_save_t + m_config_t.config_stack + m_config_t.cs_level m_config_t.dynamics + m_config_t.dynasize m_config_t.sub_conf which were tear out in changeset[617-618] and contained unreal, at least for this project, code: if(sub_conf) o=std::string(sub_conf)+":"+opt; else o=opt; Could illegal-patch to use this pieces of code for own dark deals, considering that removal this stuff much improved the project? Noter: early changesets contains removal of other unused and specially badly coded places which did the project non-workable without illegal-patch.) Do i need to continue this project when exists whole world of commercially available media-players? Total price of development so-called free software disproportionally superior the price of any commercial product (if we will at least count the money which were spent for internet) not counting spent time which could be spent for commerce. For all who are interested with quality of this project: HAPPY NEW YEAR!!! Modified Paths: -------------- mplayerxp/libmpdemux/demux_mp3.cpp mplayerxp/mplayerxp.cpp Modified: mplayerxp/libmpdemux/demux_mp3.cpp =================================================================== --- mplayerxp/libmpdemux/demux_mp3.cpp 2012-12-29 12:10:43 UTC (rev 625) +++ mplayerxp/libmpdemux/demux_mp3.cpp 2012-12-29 17:26:32 UTC (rev 626) @@ -525,7 +525,7 @@ sh_audio->rate=mp3_samplerate; sh_audio->nch=mp3_channels; demuxer->movi_start-=HDR_SIZE; - if(!read_mp3v1_tags(demuxer,hdr,pos)) return 0; /* id3v1 may coexist with id3v2 */ + read_mp3v1_tags(demuxer,hdr,pos); /* id3v1 may coexist with id3v2 */ break; case RAW_MP3: sh_audio->wtag = 0x55; @@ -533,7 +533,7 @@ sh_audio->rate=mp3_samplerate; sh_audio->nch=mp3_channels; demuxer->movi_start-=HDR_SIZE; - if(!read_mp3v1_tags(demuxer,hdr,pos)) return 0; /* id3v1 may coexist with id3v2 */ + read_mp3v1_tags(demuxer,hdr,pos); /* id3v1 may coexist with id3v2 */ break; } Modified: mplayerxp/mplayerxp.cpp =================================================================== --- mplayerxp/mplayerxp.cpp 2012-12-29 12:10:43 UTC (rev 625) +++ mplayerxp/mplayerxp.cpp 2012-12-29 17:26:32 UTC (rev 626) @@ -150,7 +150,7 @@ int handle_input(seek_args_t* seek,osd_args_t* osd,input_state_t* state); unsigned inited_flags; - int vo_inited; + MPXP_Rc vo_inited; MPXP_Rc ao_inited; int osd_show_framedrop; int osd_function; @@ -324,6 +324,7 @@ MP_UNIT("uninit_vo"); delete mpxp_context().video().output; mpxp_context().video().output=NULL; + vo_inited=MPXP_False; } if(mask&INITED_ACODEC){ @@ -338,6 +339,7 @@ MP_UNIT("uninit_ao"); delete mpxp_context().audio().output; mpxp_context().audio().output=NULL; + ao_inited=MPXP_False; } if(mask&INITED_DEMUXER) uninit_demuxer(); @@ -818,9 +820,12 @@ unsigned i; // check video_out driver name: MP_UNIT("vo_init"); - vo_inited = (mpxp_context().video().output->init(mp_conf.video_driver?mp_conf.video_driver:"")==MPXP_Ok)?1:0; + if(vo_inited==MPXP_False) { + if(!mpxp_context().video().output) mpxp_context().video().output=new(zeromem) Video_Output; + vo_inited = mpxp_context().video().output->init(mp_conf.video_driver?mp_conf.video_driver:""); + } - if(!vo_inited){ + if(vo_inited==MPXP_False){ mpxp_fatal<<MSGTR_InvalidVOdriver<<": "<<(mp_conf.video_driver?mp_conf.video_driver:"?")<<std::endl; exit_player(MSGTR_Fatal_error); } @@ -860,8 +865,7 @@ std::string buf = filename.substr(0,filename.length()-4); mpxp_context().video().output->vobsub=vobsub_open(buf,mp_conf.spudec_ifo,0,&mpxp_context().video().output->spudec); } - if(mpxp_context().video().output->vobsub) - { + if(mpxp_context().video().output->vobsub) { mp_conf.sub_auto=0; // don't do autosub for textsubs if vobsub found inited_flags|=INITED_VOBSUB; } @@ -1574,7 +1578,6 @@ PointerProtector<MPXPSecureKeys> ptr_protector; secure_keys=ptr_protector.protect(new(zeromem) MPXPSecureKeys(10)); - mpxp_context().video().output=new(zeromem) Video_Output; init_signal_handling(); xmp_init(); @@ -1651,6 +1654,7 @@ mpxp_info<<std::endl; } + mpxp_context().video().output=new(zeromem) Video_Output; //------ load global data first ------ mpxp_init_osd(envm); // ========== Init keyboard FIFO (connection to libvo) ============ @@ -1923,6 +1927,7 @@ MP_UNIT("Update timers"); if(sh_audio) eof = mpxp_context().engine().xp_core->audio->eof; if(sh_video) eof|=dae_played_eof(mpxp_context().engine().xp_core->video); + if(eof) break; if(!sh_video) { if(mp_conf.benchmark && mp_conf.verbose) show_benchmark_status(); else MPXPSys.print_audio_status(); @@ -2038,19 +2043,16 @@ int flg; flg=INITED_ALL; if(input_state.after_dvdmenu) flg &=~(INITED_STREAM|INITED_DEMUXER); - MPXPSys.uninit_player(flg&(~INITED_INPUT)); /* TODO: |(~INITED_AO)|(~INITED_VO) */ - MPXPSys.vo_inited=0; - MPXPSys.ao_inited=MPXP_False; + MPXPSys.uninit_player(flg&(~(INITED_INPUT|INITED_VO|INITED_SPUDEC))); /* TODO: |(~INITED_AO)|(~INITED_VO) */ eof = 0; - mpxp_context().engine().xp_core->audio->eof=0; goto play_next_file; } if(stream_dump_type>1) dump_mux_close(MPXPSys.demuxer()); - exit_player(MSGTR_Exit_eof); mpxp_uninit_structs(); delete ptr_protector.unprotect(secure_keys); + exit_player(MSGTR_Exit_eof); return EXIT_SUCCESS; } } // namespace mpxp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |