[MPlayer-users] Re: Re: Trying to re-lock decoder . . .

Sinan Nalkaya erchamion.beren at gmail.com
Wed Nov 23 14:44:49 CET 2005


hi again,
i have downloaded a patch from www.openchrome.org (the latest one) then
tried to apply mplayer pre7try2 , it failed at libavcodec/allcodecs.c then i
tried mplayer pre7 but failed again at the same file. here is
libavcodec/allcodecs.c.rej
***************
*** 303,308 ****
  #ifdef CONFIG_MPEGVIDEO_DECODER
      register_avcodec(&mpegvideo_decoder);
  #endif //CONFIG_MPEGVIDEO_DECODER
  #ifdef HAVE_XVMC
  #ifdef CONFIG_MPEG_XVMC_DECODER
      register_avcodec(&mpeg_xvmc_decoder);
--- 303,313 ----
  #ifdef CONFIG_MPEGVIDEO_DECODER
      register_avcodec(&mpegvideo_decoder);
  #endif //CONFIG_MPEGVIDEO_DECODER
+ #ifdef HAVE_XVMC_VLD
+ #ifdef CONFIG_MPEG_XVMC_DECODER
+     register_avcodec(&mpeg_xxmc_decoder);
+ #endif //CONFIG_MPEG_XVMC_DECODER
+ #endif
  #ifdef HAVE_XVMC
  #ifdef CONFIG_MPEG_XVMC_DECODER
      register_avcodec(&mpeg_xvmc_decoder);
then i manually edited and added this section
+ #ifdef HAVE_XVMC_VLD
+ #ifdef CONFIG_MPEG_XVMC_DECODER
+     register_avcodec(&mpeg_xxmc_decoder);
+ #endif //CONFIG_MPEG_XVMC_DECODER
+ #endif
to the code.
the changed one is like this,
    register_avcodec(&wnv1_decoder);
    register_avcodec(&aasc_decoder);
#ifdef CONFIG_FAAD
    register_avcodec(&aac_decoder);
    register_avcodec(&mpeg4aac_decoder);
#endif
    register_avcodec(&mpeg1video_decoder);
    register_avcodec(&mpeg2video_decoder);
    register_avcodec(&mpegvideo_decoder);
#ifdef HAVE_XVMC_VLD
#ifdef CONFIG_MPEG_XVMC_DECODER
    register_avcodec(&mpeg_xxmc_decoder);
#endif //CONFIG_MPEG_XVMC_DECODER
#endif
#ifdef HAVE_XVMC
    register_avcodec(&mpeg_xvmc_decoder);
#endif
i compiled when tried to play the mpeg2 movie i got this message from
mplayer,
MPlayer interrupted by signal 11 in module: decode_video

what mplayer version is this patch for?
thanks.



More information about the MPlayer-users mailing list