[MPlayer-cvslog] r21209 - in trunk: libvo/sub.c libvo/sub.h mplayer.c stream/stream_dvdnav.c

Guillaume POIRIER poirierg at gmail.com
Sat Nov 25 12:31:58 CET 2006


Hi,

On 11/25/06, ben <subversion at mplayerhq.hu> wrote:
> Author: ben
> Date: Sat Nov 25 12:20:02 2006
> New Revision: 21209
>
> Modified:
>    trunk/libvo/sub.c
>    trunk/libvo/sub.h
>    trunk/mplayer.c
>    trunk/stream/stream_dvdnav.c
>
> Log:
> support for dvdnav menu buttons overlay as simple alpha boxes (rework from Otvos Attila's series of patches)

Don't forget to add doxygen comments while you are at it :)

>
> Modified: trunk/libvo/sub.c
> ==============================================================================
> --- trunk/libvo/sub.c   (original)
> +++ trunk/libvo/sub.c   Sat Nov 25 12:20:02 2006
> @@ -8,6 +8,11 @@
>  #include <malloc.h>
>  #endif
>
> +#ifdef USE_DVDNAV
> +#include <dvdnav.h>
> +#define OSD_NAV_BOX_ALPHA 0x7f
> +#endif
> +
>  #include "mp_msg.h"
>  #include "help_mp.h"
>  #include "video_out.h"
> @@ -192,6 +197,24 @@
>          }
>  }
>
> +#ifdef USE_DVDNAV
> +inline static void vo_update_nav (mp_osd_obj_t *obj, int dxs, int dys) {
> +  extern dvdnav_highlight_event_t dvd_nav_hl;

here

==============================================================================
> --- trunk/stream/stream_dvdnav.c        (original)
> +++ trunk/stream/stream_dvdnav.c        Sat Nov 25 12:20:02 2006
> @@ -11,6 +11,7 @@
>  #include "libmpdemux/demuxer.h"

[..]

>    return priv;
>  }
>
> +static void dvdnav_get_highlight (dvdnav_priv_t *priv,
> +                                  dvdnav_highlight_event_t *hlev,
> +                                  int display_mode) {
> +  pci_t *pnavpci = NULL;
> +  int btnum = -1;

and here

Off course I know that current code doesn't have doxy comments, but
obviously if none is ever added, there won't ever be any in the code
:-)

Guillaume
-- 
With DADVSI (http://en.wikipedia.org/wiki/DADVSI), France finally has
a lead on USA on selling out individuals right to corporations!
Vive la France!



More information about the MPlayer-cvslog mailing list