[Mplayerxp-cvslog] SF.net SVN: mplayerxp:[220] mplayerxp
Brought to you by:
olov
From: <nic...@us...> - 2012-10-26 11:54:22
|
Revision: 220 http://mplayerxp.svn.sourceforge.net/mplayerxp/?rev=220&view=rev Author: nickols_k Date: 2012-10-26 11:54:16 +0000 (Fri, 26 Oct 2012) Log Message: ----------- remove unused vars Modified Paths: -------------- mplayerxp/dec_ahead.c mplayerxp/dec_ahead.h mplayerxp/mplayer.c mplayerxp/sig_hand.c Modified: mplayerxp/dec_ahead.c =================================================================== --- mplayerxp/dec_ahead.c 2012-10-26 11:45:13 UTC (rev 219) +++ mplayerxp/dec_ahead.c 2012-10-26 11:54:16 UTC (rev 220) @@ -135,9 +135,6 @@ extern int decore_audio( int xp_id ); extern int mpxp_seek_time; -pid_t dec_ahead_pid; /* Only for testing */ -pthread_t dec_ahead_pth_id; - extern void update_osd( float v_pts ); volatile int xp_eof=0; int xp_audio_eof=0; @@ -275,9 +272,7 @@ MSG_T("\nDEC_AHEAD: entering...\n"); _xp_id=init_signal_handling(sig_dec_ahead_video,uninit_dec_ahead); pinfo[_xp_id].current_module = "dec_ahead"; - dec_ahead_pid = pinfo[_xp_id].pid = getpid(); /* Only for testing */ - dec_ahead_pth_id = pinfo[_xp_id].pth_id = pthread_self(); pinfo[_xp_id].thread_name = (xp_core.has_audio && mp_conf.xp < XP_VAFull) ? "video+audio decoding+filtering ahead" : "video decoding+vf ahead"; drop_barrier=(float)(xp_num_frames/2)*(1/sh_video->fps); Modified: mplayerxp/dec_ahead.h =================================================================== --- mplayerxp/dec_ahead.h 2012-10-26 11:45:13 UTC (rev 219) +++ mplayerxp/dec_ahead.h 2012-10-26 11:54:16 UTC (rev 220) @@ -117,9 +117,6 @@ astream - pointer to audio stream */ -extern int dec_ahead_pid; /* Only for testing */ -extern pthread_t dec_ahead_pth_id; - extern int init_dec_ahead(sh_video_t*stream, sh_audio_t *astream); extern void uninit_dec_ahead( int force ); extern int run_dec_ahead( void ); Modified: mplayerxp/mplayer.c =================================================================== --- mplayerxp/mplayer.c 2012-10-26 11:45:13 UTC (rev 219) +++ mplayerxp/mplayer.c 2012-10-26 11:54:16 UTC (rev 220) @@ -109,7 +109,6 @@ #endif int xp_id=0; -pid_t mplayer_pid; pthread_t mplayer_pth_id; int use_pts_fix2=-1; @@ -2344,7 +2343,6 @@ vo_data=vo_preinit_structs(); - mplayer_pid= pinfo[xp_id].pid=getpid(); mplayer_pth_id= pinfo[xp_id].pth_id=pthread_self(); Modified: mplayerxp/sig_hand.c =================================================================== --- mplayerxp/sig_hand.c 2012-10-26 11:45:13 UTC (rev 219) +++ mplayerxp/sig_hand.c 2012-10-26 11:54:16 UTC (rev 220) @@ -20,10 +20,6 @@ pth_info_t pinfo[MAX_XPTHREADS]; int xp_threads = 0; -extern pid_t mplayer_pid; -extern pthread_t mplayer_pth_id; -extern pid_t dec_ahead_pid; - #ifdef HAVE_BACKTRACE #include <execinfo.h> /* Obtain a backtrace and print it to stdout. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |