[vlc-devel] Re: video title ?

Derk-Jan Hartman hartman at videolan.org
Sat Mar 27 21:11:35 CET 2004


On 27 mrt 2004, at 19:04, Jean-Paul Saman wrote:

> Derk-Jan Hartman wrote:
>
>>
>> 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.
>
> Not only as fallback. It will tell me if the X11 Video Server is 
> configured properly or not.
>
>>
>> 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.
>
> Even when the video outputs are stable I'd like to keep this 
> information, it will tell you that hardware accelleration is used when 
> displaying. If we miss this kind of information there is hardly a way 
> to tell if somebodies computer cannot handle the performance needed 
> for the stream. In short that information also has a diagnostic 
> purpose.

But you could also report this via msg_Dbg. In a stable environment, 
there should be no need for such a clear presentation of a piece 
'debugging' information.

DJ

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

-- 
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