Do not add a newline at the end of the strings send to msg_*
authorRémi Duraffort <ivoire@videolan.org>
Thu, 21 Apr 2011 18:22:09 +0000 (20:22 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 21 Apr 2011 18:25:21 +0000 (20:25 +0200)
modules/audio_output/alsa.c
modules/codec/avcodec/dxva2.c
modules/gui/skins2/x11/x11_display.cpp
modules/video_filter/blend.c
src/misc/update.c

index 58f9372..5ec9c54 100644 (file)
@@ -422,7 +422,7 @@ static int Open (vlc_object_t *obj)
         goto error;
     }
     if (p_aout->output.output.i_rate != old_rate)
-        msg_Warn (p_aout, "resampling from %d Hz to %d Hz\n", old_rate,
+        msg_Warn (p_aout, "resampling from %d Hz to %d Hz", old_rate,
                   p_aout->output.output.i_rate);
 
     /* Set period size. */
index 595f1d6..b1f2bf1 100644 (file)
@@ -649,7 +649,7 @@ static int D3dCreateDeviceManager(vlc_va_dxva2_t *va)
                              TEXT("DXVA2CreateDirect3DDeviceManager9"));
 
     if (!CreateDeviceManager9) {
-        msg_Err(va->log, "cannot load function\n");
+        msg_Err(va->log, "cannot load function");
         return VLC_EGENERIC;
     }
     msg_Dbg(va->log, "OurDirect3DCreateDeviceManager9 Success!");
@@ -693,7 +693,7 @@ static int DxCreateVideoService(vlc_va_dxva2_t *va)
                              TEXT("DXVA2CreateVideoService"));
 
     if (!CreateVideoService) {
-        msg_Err(va->log, "cannot load function\n");
+        msg_Err(va->log, "cannot load function");
         return 4;
     }
     msg_Info(va->log, "DXVA2CreateVideoService Success!");
@@ -850,7 +850,7 @@ static int DxCreateVideoDecoder(vlc_va_dxva2_t *va,
                                                          DXVA2_VideoDecoderRenderTarget,
                                                          surface_list,
                                                          NULL))) {
-        msg_Err(va->log, "IDirectXVideoAccelerationService_CreateSurface failed\n");
+        msg_Err(va->log, "IDirectXVideoAccelerationService_CreateSurface failed");
         va->surface_count = 0;
         return VLC_EGENERIC;
     }
@@ -899,7 +899,7 @@ static int DxCreateVideoDecoder(vlc_va_dxva2_t *va,
                                                                     NULL,
                                                                     &cfg_count,
                                                                     &cfg_list))) {
-        msg_Err(va->log, "IDirectXVideoDecoderService_GetDecoderConfigurations failed\n");
+        msg_Err(va->log, "IDirectXVideoDecoderService_GetDecoderConfigurations failed");
         return VLC_EGENERIC;
     }
     msg_Dbg(va->log, "we got %d decoder configurations", cfg_count);
@@ -944,7 +944,7 @@ static int DxCreateVideoDecoder(vlc_va_dxva2_t *va,
                                                               surface_list,
                                                               va->surface_count,
                                                               &decoder))) {
-        msg_Err(va->log, "IDirectXVideoDecoderService_CreateVideoDecoder failed\n");
+        msg_Err(va->log, "IDirectXVideoDecoderService_CreateVideoDecoder failed");
         return VLC_EGENERIC;
     }
     va->decoder = decoder;
index 48e8f3e..dc42dd1 100644 (file)
@@ -186,7 +186,7 @@ X11Display::X11Display( intf_thread_t *pIntf ): SkinObject( pIntf ),
         break;
 
     default:
-        msg_Err( getIntf(), "unsupported depth: %d bpp\n", depth );
+        msg_Err( getIntf(), "unsupported depth: %d bpp", depth );
         m_pDisplay = NULL;
         break;
     }
index 192a6c2..aff38f4 100644 (file)
@@ -234,7 +234,7 @@ static void Blend( filter_t *p_filter,
     video_format_FixRgb( &p_filter->fmt_in.video );
 
 #if 0
-    msg_Dbg( p_filter, "chroma: %4.4s -> %4.4s\n",
+    msg_Dbg( p_filter, "chroma: %4.4s -> %4.4s",
              (char *)&p_filter->fmt_in.video.i_chroma,
              (char *)&p_filter->fmt_out.video.i_chroma );
 #endif
index 0c939a0..02adb3a 100644 (file)
@@ -333,7 +333,7 @@ static bool GetUpdateFile( update_t *p_update )
         else
         {
             free( p_hash );
-            msg_Err( p_update->p_libvlc, "Key signature invalid !\n" );
+            msg_Err( p_update->p_libvlc, "Key signature invalid !" );
             goto error;
         }
     }