]> git.sesse.net Git - vlc/blobdiff - modules/access/dshow/dshow.cpp
l10n string fixes
[vlc] / modules / access / dshow / dshow.cpp
index a483aec75f5f9a2362d5d9bf9f729f1a230825fb..a531f7fa303c28b99ed6dfa921cf021c2b574085 100644 (file)
@@ -162,7 +162,7 @@ static const char *const ppsz_amtuner_mode_text[] = { N_("Default"),
 
 #define AUDIO_CHANNELS_TEXT N_("Number of audio channels")
 #define AUDIO_CHANNELS_LONGTEXT N_( \
-    "Select audio input format with the given number of audio channesl (if non 0)" )
+    "Select audio input format with the given number of audio channels (if non 0)" )
 
 #define AUDIO_SAMPLERATE_TEXT N_("Audio sample rate")
 #define AUDIO_SAMPLERATE_LONGTEXT N_( \
@@ -1639,7 +1639,7 @@ static block_t *ReadCompressed( access_t *p_access )
 
     while( 1 )
     {
-        if( p_access->b_die || p_access->b_error ) return 0;
+        if( !vlc_object_alive (p_access) || p_access->b_error ) return 0;
 
         /* Get new sample/frame from the elementary stream (blocking). */
         vlc_mutex_lock( &p_sys->lock );