]> git.sesse.net Git - vlc/blobdiff - src/input/input_ext-intf.c
* Bug fixes and enhancements in the Gtk+/Gnome interfaces.
[vlc] / src / input / input_ext-intf.c
index 52a48596fb0b1e0a70e1526e1087c6eeefe095ce..061fe273173a5b52c2a007c0a57891543ae20176 100644 (file)
@@ -177,7 +177,7 @@ char * input_OffsetToTime( input_thread_t * p_input, char * psz_buffer,
     else
     {
         /* Divide by zero is not my friend. */
-        sprintf( psz_buffer, "NA" );
+        sprintf( psz_buffer, "-:--:--" );
         return( psz_buffer );
     }
 }
@@ -267,14 +267,14 @@ int input_ChangeES( input_thread_t * p_input, es_descriptor_t * p_es,
                 input_UnselectES( p_input,
                                   p_input->stream.pp_selected_es[i_index] );
                 input_SelectES( p_input, p_es );
-                intf_WarnMsg( 1, "dvd info: ES selected -> %s (0x%x)",
+                intf_WarnMsg( 1, "input info: es selected -> %s (0x%x)",
                                                 p_es->psz_desc, p_es->i_id );
             }
         }
         else
         {
             input_SelectES( p_input, p_es );
-            intf_WarnMsg( 1, "dvd info: selected -> %s (0x%x)",
+            intf_WarnMsg( 1, "input info: es selected -> %s (0x%x)",
                           p_es->psz_desc, p_es->i_id );
         }
     }
@@ -282,6 +282,10 @@ int input_ChangeES( input_thread_t * p_input, es_descriptor_t * p_es,
     {
         if( i_index != -1 )
         {
+            intf_WarnMsg( 1, "input info: es unselected -> %s (0x%x)",
+                          p_input->stream.pp_selected_es[i_index]->psz_desc,
+                          p_input->stream.pp_selected_es[i_index]->i_id );
+
             input_UnselectES( p_input,
                               p_input->stream.pp_selected_es[i_index] );
         }