char *psz_mes = cdio_cddap_messages( p_cdda->paranoia_cd );
if( psz_mes || psz_err )
- msg_Err( p_access, "%s%s\n", psz_mes ? psz_mes: "",
+ msg_Err( p_access, "%s%s", psz_mes ? psz_mes: "",
psz_err ? psz_err: "" );
free( psz_err );
free( psz_mes );
if( !p_readbuf )
{
- msg_Err( p_access, "paranoia read error on frame %i\n",
+ msg_Err( p_access, "paranoia read error on frame %i",
p_cdda->i_lsn+i );
}
else
if ( ( n_ports = raw1394_get_port_info( handle, pinf, 16 ) ) < 0 )
{
- msg_Err( p_access, "raw1394 - failed to get port info: %m.\n" );
+ msg_Err( p_access, "raw1394 - failed to get port info: %m." );
raw1394_destroy_handle( handle );
return VLC_EGENERIC;
}
/* select first AV/C Tape Reccorder Player node */
if( rom1394_get_directory( handle, i, &rom_dir ) < 0 )
{
- msg_Err( p_access, "error reading config rom directory for node %d\n", i );
+ msg_Err( p_access, "error reading config rom directory for node %d", i );
continue;
}
if( ( rom1394_get_node_type( &rom_dir ) == ROM1394_NODE_TYPE_AVC ) &&
}
if( sc.retsts || sc.error )
{
- msg_Err( p_this, "SCSI command failed: status %d error %d\n",
+ msg_Err( p_this, "SCSI command failed: status %d error %d",
sc.retsts, sc.error );
if( i_type == VCD_TYPE ) free( p_block );
return -1;
{
input_title_t *t = p_sys->title[i] = vlc_input_title_New();
- msg_Dbg( p_access, "title[%d] start=%d\n", i, p_sys->p_sectors[1+i] );
- msg_Dbg( p_access, "title[%d] end=%d\n", i, p_sys->p_sectors[i+2] );
+ msg_Dbg( p_access, "title[%d] start=%d", i, p_sys->p_sectors[1+i] );
+ msg_Dbg( p_access, "title[%d] end=%d", i, p_sys->p_sectors[i+2] );
t->i_size = ( p_sys->p_sectors[i+2] - p_sys->p_sectors[i+1] ) *
(int64_t)VCD_DATA_SIZE;
if( i_title < 0 ) continue; /* Should not occur */
if( i_title >= p_sys->i_titles ) continue;
- msg_Dbg( p_access, "Entry[%d] title=%d sector=%d\n",
+ msg_Dbg( p_access, "Entry[%d] title=%d sector=%d",
i, i_title, i_sector );
s = vlc_seekpoint_New();
aout_filter_t *p_filter = (aout_filter_t *)p_this;
aout_filter_sys_t *p_sys;
bool b_fit = true;
- msg_Dbg(p_this, "Opening filter spatializer %s %s %d\n", __FILE__,__func__,__LINE__);
+ msg_Dbg(p_this, "Opening filter spatializer %s %s %d", __FILE__,__func__,__LINE__);
if( p_filter->input.i_format != VLC_FOURCC('f','l','3','2' ) ||
p_filter->output.i_format != VLC_FOURCC('f','l','3','2') )
delete p_sys->p_reverbm;
vlc_mutex_destroy( &p_sys->lock );
free( p_sys );
- msg_Dbg(p_this, "Closing filter spatializer %s %s %d\n", __FILE__,__func__,__LINE__);
+ msg_Dbg(p_this, "Closing filter spatializer %s %s %d", __FILE__,__func__,__LINE__);
}
/*****************************************************************************
CLocker locker( &p_sys->lock );
p_sys->p_reverbm->setroomsize(newval.f_float);
- msg_Dbg (p_this,"room callback %3.1f %s %s %d\n", newval.f_float, __FILE__,__func__,__LINE__);
+ msg_Dbg (p_this,"room callback %3.1f %s %s %d", newval.f_float, __FILE__,__func__,__LINE__);
return VLC_SUCCESS;
}
CLocker locker( &p_sys->lock );
p_sys->p_reverbm->setwidth(newval.f_float);
- msg_Dbg (p_this,"width callback %3.1f %s %s %d\n", newval.f_float, __FILE__,__func__,__LINE__);
+ msg_Dbg (p_this,"width callback %3.1f %s %s %d", newval.f_float, __FILE__,__func__,__LINE__);
return VLC_SUCCESS;
}
static int WetCallback( vlc_object_t *p_this, char const *psz_cmd,
CLocker locker( &p_sys->lock );
p_sys->p_reverbm->setwet(newval.f_float);
- msg_Dbg (p_this,"wet callback %3.1f %s %s %d\n", newval.f_float, __FILE__,__func__,__LINE__);
+ msg_Dbg (p_this,"wet callback %3.1f %s %s %d", newval.f_float, __FILE__,__func__,__LINE__);
return VLC_SUCCESS;
}
static int DryCallback( vlc_object_t *p_this, char const *psz_cmd,
CLocker locker( &p_sys->lock );
p_sys->p_reverbm->setdry(newval.f_float);
- msg_Dbg (p_this,"dry callback %3.1f %s %s %d\n", newval.f_float, __FILE__,__func__,__LINE__);
+ msg_Dbg (p_this,"dry callback %3.1f %s %s %d", newval.f_float, __FILE__,__func__,__LINE__);
return VLC_SUCCESS;
}
static int DampCallback( vlc_object_t *p_this, char const *psz_cmd,
CLocker locker( &p_sys->lock );
p_sys->p_reverbm->setdamp(newval.f_float);
- msg_Dbg (p_this, "damp callback %3.1f %s %s %d\n", newval.f_float, __FILE__,__func__,__LINE__);
+ msg_Dbg (p_this, "damp callback %3.1f %s %s %d", newval.f_float, __FILE__,__func__,__LINE__);
return VLC_SUCCESS;
}
msg_Err( p_enc, "cannot find encoder %s\n"
"*** Your FFMPEG installation is crippled. ***\n"
"*** Please check with your FFMPEG packager. ***\n"
-"*** This is NOT a VLC media player issue. ***\n", psz_namecodec );
+"*** This is NOT a VLC media player issue. ***", psz_namecodec );
intf_UserFatal( p_enc, false, _("Streaming / Transcoding failed"), _(
/* I have had enough of all these MPEG-3 transcoding bug reports.
p_sys->p_dirac = dirac_encoder_init( &p_sys->ctx, 0 );
if( !p_sys->p_dirac )
{
- msg_Err( p_enc, "Failed to initialize dirac encoder\n" );
+ msg_Err( p_enc, "Failed to initialize dirac encoder" );
p_enc->b_error = 1;
return NULL;
}
{
*w = p_sys->ki.original_canvas_width;
*h = p_sys->ki.original_canvas_height;
- msg_Dbg( p_dec, "original canvas %zu %zu\n",
+ msg_Dbg( p_dec, "original canvas %zu %zu",
p_sys->ki.original_canvas_width, p_sys->ki.original_canvas_height );
}
else
{
/* nothing, leave defaults */
- msg_Dbg( p_dec, "original canvas size unknown\n");
+ msg_Dbg( p_dec, "original canvas size unknown");
}
#else
/* keep this just in case it might be allowed one day ;) */
*w = p_vout->fmt_in.i_width;
*h = p_vout->fmt_in.i_height;
}
- msg_Dbg( p_dec, "video: in %d %d, out %d %d, original canvas %zu %zu\n",
+ msg_Dbg( p_dec, "video: in %d %d, out %d %d, original canvas %zu %zu",
p_vout->fmt_in.i_width, p_vout->fmt_in.i_height,
p_vout->fmt_out.i_width, p_vout->fmt_out.i_height,
p_sys->ki.original_canvas_width, p_sys->ki.original_canvas_height );
vlc_mutex_lock( &p_sys->lock );
- msg_Dbg( p_dec, "OnConfigurationChanged: %s\n", psz_var );
+ msg_Dbg( p_dec, "OnConfigurationChanged: %s", psz_var );
if( !p_sys->b_use_tiger || !p_sys->p_tr )
{
/* create the bitmap */
CreateKateBitmap( p_bitmap_region->p_picture, ev->bitmap );
- msg_Dbg(p_dec, "Created bitmap, %zux%zu, %zu colors\n", ev->bitmap->width, ev->bitmap->height, ev->palette->ncolors);
+ msg_Dbg(p_dec, "Created bitmap, %zux%zu, %zu colors", ev->bitmap->width, ev->bitmap->height, ev->palette->ncolors);
}
/* text region */
memset( &icap, 0, sizeof( ImageSubCodecDecompressCapabilities ) );
cres = p_sys->ImageCodecInitialize( p_sys->ci, &icap );
- msg_Dbg( p_dec, "ImageCodecInitialize->0x%X size=%d (%d)\n",
+ msg_Dbg( p_dec, "ImageCodecInitialize->0x%X size=%d (%d)",
(int)cres, (int)icap.recordSize, (int)icap.decompressRecordSize);
memset( &cinfo, 0, sizeof( CodecInfo ) );
cres = p_sys->ImageCodecGetCodecInfo( p_sys->ci, &cinfo );
msg_Dbg( p_dec,
- "Flags: compr: 0x%x decomp: 0x%x format: 0x%x\n",
+ "Flags: compr: 0x%x decomp: 0x%x format: 0x%x",
(unsigned int)cinfo.compressFlags,
(unsigned int)cinfo.decompressFlags,
(unsigned int)cinfo.formatFlags );
- msg_Dbg( p_dec, "quicktime_video: Codec name: %.*s\n",
+ msg_Dbg( p_dec, "quicktime_video: Codec name: %.*s",
((unsigned char*)&cinfo.typeName)[0],
((unsigned char*)&cinfo.typeName)+1 );
p_sys->plane,
p_dec->fmt_in.video.i_width * 2 );
- msg_Dbg( p_dec, "NewGWorldFromPtr returned:%ld\n",
+ msg_Dbg( p_dec, "NewGWorldFromPtr returned:%ld",
65536 - ( i_result&0xffff ) );
memset( &p_sys->decpar, 0, sizeof( CodecDecompressParams ) );
p_sys->decpar.dstPixMap = **p_sys->GetGWorldPixMap( p_sys->OutBufferGWorld );/*destPixmap; */
cres = p_sys->ImageCodecPreDecompress( p_sys->ci, &p_sys->decpar );
- msg_Dbg( p_dec, "quicktime_video: ImageCodecPreDecompress cres=0x%X\n",
+ msg_Dbg( p_dec, "quicktime_video: ImageCodecPreDecompress cres=0x%X",
(int)cres );
es_format_Init( &p_dec->fmt_out, VIDEO_ES, VLC_FOURCC( 'Y', 'U', 'Y', '2' ));
if( cres &0xFFFF )
{
msg_Dbg( p_dec, "quicktime_video: ImageCodecBandDecompress"
- " cres=0x%X (-0x%X) %d :(\n",
+ " cres=0x%X (-0x%X) %d :(",
(int)cres,(int)-cres, (int)cres );
}
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
{
PL_UNLOCK;
pl_Release( (vlc_object_t*) p_this );
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
if( dbus_error_is_set( &error ) )
{
- msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s\n",
+ msg_Err( (vlc_object_t*) p_this, "D-Bus message reading : %s",
error.message );
dbus_error_free( &error );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
p_model = gtk_tree_view_get_model(treeview);
if (!p_model)
{
- msg_Err(p_intf, "PDA: Filelist model contains a NULL pointer\n" );
+ msg_Err(p_intf, "PDA: Filelist model contains a NULL pointer" );
return;
}
if (!gtk_tree_model_get_iter(p_model, &iter, path))
p_model = gtk_tree_view_get_model(treeview);
if (!p_model)
{
- msg_Err(p_intf, "PDA: Playlist model contains a NULL pointer\n" );
+ msg_Err(p_intf, "PDA: Playlist model contains a NULL pointer" );
return;
}
if (!gtk_tree_model_get_iter(p_model, &iter, path))
module_t *p_obj = module_find( psz_name );
if( !p_obj )
{
- msg_Err( p_intf, "Unable to find filter module \"%s\n.", psz_name );
+ msg_Err( p_intf, "Unable to find filter module \"%s\".", psz_name );
return;
}
if( f.isNull() || !f.tag() || f.file()->readOnly() )
{
- msg_Err( p_this, "File %s can't be opened for tag writing\n",
+ msg_Err( p_this, "File %s can't be opened for tag writing",
p_export->psz_file );
return VLC_EGENERIC;
}
( guchar* )p_svg->psz_text, strlen( p_svg->psz_text ),
&error ) )
{
- msg_Err( p_filter, "error while rendering SVG: %s\n", error->message );
+ msg_Err( p_filter, "error while rendering SVG: %s", error->message );
g_object_unref( G_OBJECT( p_handle ) );
return;
}
if( ! rsvg_handle_close( p_handle, &error ) )
{
- msg_Err( p_filter, "error while rendering SVG (close): %s\n", error->message );
+ msg_Err( p_filter, "error while rendering SVG (close): %s", error->message );
g_object_unref( G_OBJECT( p_handle ) );
return;
}
|| ((p_sdp->orig_ip_version != 4)
&& (p_sdp->orig_ip_version != 6)))
{
- msg_Dbg (p_obj, "SDP origin not supported: %s\n", data);
+ msg_Dbg (p_obj, "SDP origin not supported: %s", data);
/* Or maybe out-of-range, but this looks suspicious */
return NULL;
}
/* Create user specified video filters */
psz_chain = var_GetNonEmptyString( p_stream, CFG_PREFIX "vfilter" );
- msg_Dbg( p_stream, "psz_chain: %s\n", psz_chain );
+ msg_Dbg( p_stream, "psz_chain: %s", psz_chain );
if( psz_chain )
{
p_sys->p_vf2 = filter_chain_New( p_stream, "video filter2", false,
if( var_Create( p_filter, MODULE_STRING"-level", VLC_VAR_INTEGER | (b_first ? VLC_VAR_DOINHERIT : 0 ) ) )
{
- msg_Err( p_filter, "Failed to create %s variable\n", psz_option );
+ msg_Err( p_filter, "Failed to create %s variable", psz_option );
return VLC_EGENERIC;
}
int i_level = var_GetInteger( p_filter, psz_option );
if( i_level >= CHAIN_LEVEL_MAX )
{
- msg_Err( p_filter, "Too high level of recursion (%d)\n", i_level );
+ msg_Err( p_filter, "Too high level of recursion (%d)", i_level );
return VLC_EGENERIC;
}
var_SetInteger( p_filter, psz_option, i_level + 1 );
//create the VIDEO_FILTER_EVENT_VARIABLE
vlc_value_t val;
if (var_Create( p_filter->p_libvlc, VIDEO_FILTER_EVENT_VARIABLE, VLC_VAR_ADDRESS | VLC_VAR_DOINHERIT ) != VLC_SUCCESS)
- msg_Err( p_filter, "Could not create %s\n", VIDEO_FILTER_EVENT_VARIABLE);
+ msg_Err( p_filter, "Could not create %s", VIDEO_FILTER_EVENT_VARIABLE);
val.p_address = &(p_sys->event_info);
if (var_Set( p_filter->p_libvlc, VIDEO_FILTER_EVENT_VARIABLE, val )!=VLC_SUCCESS)
- msg_Err( p_filter, "Could not set %s\n", VIDEO_FILTER_EVENT_VARIABLE);
+ msg_Err( p_filter, "Could not set %s", VIDEO_FILTER_EVENT_VARIABLE);
//OpenCV init specific to this example
char* filename = config_GetPsz( p_filter, "opencv-haarcascade-file" );
CvRect* r;
if (faces && (faces->total > 0))
{
- //msg_Dbg( p_filter, "Found %d face(s)\n", faces->total );
+ //msg_Dbg( p_filter, "Found %d face(s)", faces->total );
if (NULL != p_filter->p_sys->event_info.p_region)
{
free(p_filter->p_sys->event_info.p_region);
finish = clock();
duration = (double)(finish - start) / CLOCKS_PER_SEC;
if (p_sys->i_verbosity > VERB_WARN)
- msg_Dbg( p_vout, "VlcPictureToIplImageRgb took %2.4f seconds\n", duration );
+ msg_Dbg( p_vout, "VlcPictureToIplImageRgb took %2.4f seconds", duration );
}
/*****************************************************************************
finish = clock();
duration = (double)(finish - start) / CLOCKS_PER_SEC;
if (p_vout->p_sys->i_verbosity > VERB_WARN)
- msg_Dbg( p_vout, "Render took %2.4f seconds\n", duration );
+ msg_Dbg( p_vout, "Render took %2.4f seconds", duration );
ReleaseImages(p_vout);
p_outpic->date = p_pic->date;
osd_ButtonSelect( p_this, p_button );
p_sys->b_update = p_sys->b_visible ? true : false;
p_sys->b_clicked = true;
- msg_Dbg( p_this, "mouse clicked %s (%d,%d)\n", p_button->psz_name, i_x, i_y );
+ msg_Dbg( p_this, "mouse clicked %s (%d,%d)", p_button->psz_name, i_x, i_y );
}
}
return VLC_SUCCESS;
if( (p_sys->p_video = (uint8_t *)mmap( 0, p_sys->i_page_size, PROT_READ | PROT_WRITE, MAP_SHARED,
p_sys->i_fd, 0 )) == MAP_FAILED )
{
- msg_Err( p_vout, "Can't mmap: %s\n", strerror(errno) );
+ msg_Err( p_vout, "Can't mmap: %s", strerror(errno) );
return VLC_EGENERIC;
}
if( (p_sys->p_null = (uint8_t *)mmap( 0, p_sys->i_page_size, PROT_READ | PROT_WRITE,
MAP_PRIVATE, p_sys->i_null_fd, 0 )) == MAP_FAILED )
{
- msg_Err( p_vout, "Can't mmap 2: %s\n", strerror(errno) );
+ msg_Err( p_vout, "Can't mmap 2: %s", strerror(errno) );
return VLC_EGENERIC;
}
return NULL;
}
XVMCUNLOCKDISPLAY( p_vout->p_sys->p_display );
- msg_Dbg( p_vout, "video_out_xxmc: created subpicture %d\n", i );
+ msg_Dbg( p_vout, "video_out_xxmc: created subpicture %d", i );
handler->subInUse[i] = 1;
handler->subValid[i] = 1;
pthread_mutex_unlock( &handler->mutex );
msg_Err( p_libvlc, "verbose-objects usage: \n"
"--verbose-objects=+printthatobject,"
"-dontprintthatone\n"
- "(keyword 'all' to applies to all objects)\n");
+ "(keyword 'all' to applies to all objects)");
free( psz_verbose_objects );
/* FIXME: leaks!!!! */
return VLC_EGENERIC;
p_fmt->i_width, p_fmt->i_height,
p_fmt->i_aspect );
if( !p_picture )
- msg_Err( p_filter, "Failed to allocate picture\n" );
+ msg_Err( p_filter, "Failed to allocate picture" );
return p_picture;
}
static void VideoBufferDelete( filter_t *p_filter, picture_t *p_picture )
if( buffer[1] != 0x00 )
{
- msg_Err( p_obj, "socks: CONNECT request failed\n" );
+ msg_Err( p_obj, "socks: CONNECT request failed" );
return VLC_EGENERIC;
}
p_vout->b_error = InitThread( p_vout );
if( p_vout->b_error )
- msg_Err( p_vout, "InitThread after VOUT_PICTURE_BUFFERS_CHANGE failed\n" );
+ msg_Err( p_vout, "InitThread after VOUT_PICTURE_BUFFERS_CHANGE failed" );
vlc_cond_signal( &p_vout->p->picture_wait );
vlc_mutex_unlock( &p_vout->picture_lock );