mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
Fix comments about Qt4
This commit is contained in:
parent
fd3b1b6cca
commit
b634e6a9c8
@ -246,7 +246,7 @@ int main( int i_argc, const char *ppsz_argv[] )
|
||||
|
||||
libvlc_playlist_play (vlc, -1, 0, NULL);
|
||||
|
||||
/* Qt4 insists on catching SIGCHLD via signal handler. To work around that,
|
||||
/* Qt insists on catching SIGCHLD via signal handler. To work around that,
|
||||
* unblock it after all our child threads are created. */
|
||||
sigdelset (&set, SIGCHLD);
|
||||
pthread_sigmask (SIG_SETMASK, &set, NULL);
|
||||
|
@ -429,7 +429,7 @@ void libvlc_video_set_format_callbacks( libvlc_media_player_t *mp,
|
||||
*
|
||||
* Or it can be an NSView object.
|
||||
*
|
||||
* If you want to use it along with Qt4 see the QMacCocoaViewContainer. Then
|
||||
* If you want to use it along with Qt see the QMacCocoaViewContainer. Then
|
||||
* the following code should work:
|
||||
* @code{.mm}
|
||||
* {
|
||||
|
@ -75,7 +75,7 @@
|
||||
{
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
/* We are using the same format as the Qt4 intf here:
|
||||
/* We are using the same format as the Qt intf here:
|
||||
* Container(string), transcode video(bool), transcode audio(bool),
|
||||
* use subtitles(bool), video codec(string), video bitrate(integer),
|
||||
* scale(float), fps(float), width(integer, height(integer),
|
||||
|
@ -334,7 +334,7 @@ static const float f_min_window_height = 307.;
|
||||
SideBarItem *lanItem = [SideBarItem itemWithTitle:_NS("LOCAL NETWORK") identifier:@"localnetwork"];
|
||||
SideBarItem *internetItem = [SideBarItem itemWithTitle:_NS("INTERNET") identifier:@"internet"];
|
||||
|
||||
/* SD subnodes, inspired by the Qt4 intf */
|
||||
/* SD subnodes, inspired by the Qt intf */
|
||||
char **ppsz_longnames = NULL;
|
||||
int *p_categories = NULL;
|
||||
char **ppsz_names = vlc_sd_GetNames(pl_Get(getIntf()), &ppsz_longnames, &p_categories);
|
||||
|
@ -164,7 +164,7 @@ bool Dialogs::init()
|
||||
m_pModule = module_need( m_pProvider, "dialogs provider", NULL, false );
|
||||
if( m_pModule == NULL )
|
||||
{
|
||||
msg_Err( getIntf(), "no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)" );
|
||||
msg_Err( getIntf(), "no suitable dialogs provider found (hint: compile the qt plugin, and make sure it is loaded properly)" );
|
||||
vlc_object_release( m_pProvider );
|
||||
m_pProvider = NULL;
|
||||
return false;
|
||||
|
@ -245,7 +245,7 @@ static void *Run( void * p_obj )
|
||||
}
|
||||
if( Dialogs::instance( p_intf ) == NULL )
|
||||
{
|
||||
msg_Err( p_intf, "cannot instantiate qt4 dialogs provider" );
|
||||
msg_Err( p_intf, "cannot instantiate qt dialogs provider" );
|
||||
b_error = true;
|
||||
goto end;
|
||||
}
|
||||
|
@ -225,7 +225,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
|
||||
char *outputhash = psz_md5_hash( &hash );
|
||||
|
||||
/* We could just set p_sys->output to stdout and remove user of msg_Dbg
|
||||
* if we don't need ability to output info to gui modules (like qt4 messages window
|
||||
* if we don't need ability to output info to gui modules (like qt messages window
|
||||
*/
|
||||
mtime_t dts_difference = VLC_TS_INVALID;
|
||||
if( likely( id->previous_dts != VLC_TS_INVALID ) )
|
||||
|
@ -61,7 +61,7 @@ struct input_resource_t
|
||||
|
||||
/* This lock is used to protect vout resources access (for hold)
|
||||
* It is a special case because of embed video (possible deadlock
|
||||
* between vout window request and vout holds in some(qt4) interface)
|
||||
* between vout window request and vout holds in some(qt) interface)
|
||||
*/
|
||||
vlc_mutex_t lock_hold;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user