]> git.sesse.net Git - vlc/commitdiff
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 58f93724aa016e88e205a11e6d3f8dd0029d95f3..5ec9c5400234b4a5e0b96417d7ec3aed3fe6e030 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 595f1d667b2d31beed2b96cfe074e5a60e423580..b1f2bf1f5f8c000833f32b0247e24d05be654ff1 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 48e8f3e98c7d9d6a52d128cd4822f9ddf85ee0bb..dc42dd1316484d3564f405ef6b97764798236637 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 192a6c24c3e1575c48c2e630c49b6437a6a62b2f..aff38f49449677741f03981401a65f69643b0893 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 0c939a0b37fcd2792920a3fb62efad7f7a8ef5f0..02adb3ac3a0458bca9be67cd63d4978cb4bb67e8 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;
         }
     }