[vlc-commits] DirectSound: meaningfull error messages

Jean-Baptiste Kempf git at videolan.org
Fri Jul 17 16:56:51 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 17 16:56:02 2015 +0200| [e710a62cdf09fe2f08da2bd9dbdd291e4ad1140b] | committer: Jean-Baptiste Kempf

DirectSound: meaningfull error messages

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e710a62cdf09fe2f08da2bd9dbdd291e4ad1140b
---

 modules/audio_output/directsound.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/directsound.c b/modules/audio_output/directsound.c
index 9b2536b..2f5b9f4 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -287,7 +287,7 @@ static HRESULT Play( vlc_object_t *obj, aout_stream_sys_t *sys,
                                             0, 0, DSBPLAY_LOOPING );
     }
     if( dsresult != DS_OK )
-        msg_Err( obj, "cannot start playing buffer" );
+        msg_Err( obj, "cannot start playing buffer: (hr=0x%0lx)", dsresult );
     else
     {
         vlc_mutex_lock( &sys->lock );



More information about the vlc-commits mailing list