comparison mplayer.c @ 31514:c6195b5575cc

cosmetics: Move volstep global var to the top where all other global vars live.
author diego
date Mon, 28 Jun 2010 09:35:18 +0000
parents 01f7cf82b7b1
children 823f39ab650b
comparison
equal deleted inserted replaced
31513:01f7cf82b7b1 31514:c6195b5575cc
365 float edl_backward_extra_sec = 2; 365 float edl_backward_extra_sec = 2;
366 int use_filedir_conf; 366 int use_filedir_conf;
367 int use_filename_title; 367 int use_filename_title;
368 368
369 static unsigned int initialized_flags=0; 369 static unsigned int initialized_flags=0;
370
371 /// step size of mixer changes
372 int volstep = 3;
373
374
370 #include "mpcommon.h" 375 #include "mpcommon.h"
371 #include "command.h" 376 #include "command.h"
372 377
373 #include "metadata.h" 378 #include "metadata.h"
374 379
616 if (mpctx->demuxer->num_chapters == 0) 621 if (mpctx->demuxer->num_chapters == 0)
617 stream_control(mpctx->demuxer->stream, STREAM_CTRL_GET_NUM_CHAPTERS, &mpctx->demuxer->num_chapters); 622 stream_control(mpctx->demuxer->stream, STREAM_CTRL_GET_NUM_CHAPTERS, &mpctx->demuxer->num_chapters);
618 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_CHAPTERS=%d\n", mpctx->demuxer->num_chapters); 623 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_CHAPTERS=%d\n", mpctx->demuxer->num_chapters);
619 } 624 }
620 } 625 }
621
622 /// step size of mixer changes
623 int volstep = 3;
624 626
625 #ifdef CONFIG_DVDNAV 627 #ifdef CONFIG_DVDNAV
626 static void mp_dvdnav_context_free(MPContext *ctx){ 628 static void mp_dvdnav_context_free(MPContext *ctx){
627 if (ctx->nav_smpi) free_mp_image(ctx->nav_smpi); 629 if (ctx->nav_smpi) free_mp_image(ctx->nav_smpi);
628 ctx->nav_smpi = NULL; 630 ctx->nav_smpi = NULL;