[vlc-devel] Re: video title ?

Derk-Jan Hartman hartman at videolan.org
Sat Mar 27 17:49:46 CET 2004

On 26 mrt 2004, at 15:38, Hornsby Adrian wrote:

> Okay, could we get rid of the ;
>  if (video_title == NULL) /*default video Title*/
>      {    
>              if( p_event->p_vout->p_sys->b_using_overlay )
>                 SetWindowText( p_event->p_vout->p_sys->hwnd,
>                     VOUT_TITLE " (hardware YUV overlay DirectX 
> output)" );
>             else if( p_event->p_vout->p_sys->b_hw_yuv )
>                 SetWindowText( p_event->p_vout->p_sys->hwnd,
>                     VOUT_TITLE " (hardware YUV DirectX output)" );
>             else SetWindowText( p_event->p_vout->p_sys->hwnd,
>                     VOUT_TITLE " (software RGB DirectX output)" );
>             break;
>             }
> and just have a default video TITLE like VLC ? and then  change the 
> title with --video-title <string> ???

I would prefer to see this be left in place as a fallback option. On 
windows and Linux it is often very important to retrieve this 
information when something is going wrong.

On OS X for instance, there is only one video output and no overlay, so 
you always know what is going on. (Actually no longer true as of 
late...) On OS X we use the name of the currently playing playlistitem 
as the window title.

Anyways. As long as there are still frequent changes to the code in 
directx etc, i vote to keep this in. Fine to override it, but in my 
eyes untill the video outputs are completly stable, i think this still 
serves a purpose.


Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list