]> git.sesse.net Git - vlc/commitdiff
Fixed stupid typo when removing an es.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 21 Jan 2009 22:26:04 +0000 (23:26 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 21 Jan 2009 23:01:33 +0000 (00:01 +0100)
src/input/es_out.c

index 95a7a7e6580ec8975eac2d337b42b95ace73aaf2..afb2d4b6f5870888e7448877ddde3bc2281b7d03 100644 (file)
@@ -867,7 +867,7 @@ static void EsOutESVarUpdateGeneric( es_out_t *out, int i_id, es_format_t *fmt,
         if( b_teletext )
             input_SendEventTeletext( p_sys->p_input, -1 );
 
-        input_SendEventEsDel( p_input, SPU_ES, i_id );
+        input_SendEventEsDel( p_input, fmt->i_cat, i_id );
         return;
     }