]> git.sesse.net Git - vlc/blobdiff - include/vlc_demux.h
contrib: allow RECONF without depending on gettext/autopoint on iOS
[vlc] / include / vlc_demux.h
index 56f1dc91585e9095a8f306f0743895ebf46c5628..0dcee0dffe2ac9dafdc9fe8fd5fa363a64cb85e1 100644 (file)
@@ -115,11 +115,12 @@ enum demux_query_e
     DEMUX_SET_TITLE,            /* arg1= int            can fail */
     DEMUX_SET_SEEKPOINT,        /* arg1= int            can fail */
 
-    /* DEMUX_SET_GROUP only a hint for demuxer (mainly DVB) to allow not
+    /* DEMUX_SET_GROUP/SET_ES only a hint for demuxer (mainly DVB) to allow not
      * reading everything (you should not use this to call es_out_Control)
      * if you don't know what to do with it, just IGNORE it, it is safe(r)
      * -1 means all group, 0 default group (first es added) */
     DEMUX_SET_GROUP,            /* arg1= int, arg2=const vlc_list_t *   can fail */
+    DEMUX_SET_ES,               /* arg1= int                            can fail */
 
     /* Ask the demux to demux until the given date at the next pf_demux call
      * but not more (and not less, at the precision available of course).
@@ -186,14 +187,14 @@ static inline void demux_UpdateTitleFromStream( demux_t *demux )
      && title != (unsigned)demux->info.i_title )
     {
         demux->info.i_title = title;
-        demux->info.i_update = INPUT_UPDATE_TITLE;
+        demux->info.i_update |= INPUT_UPDATE_TITLE;
     }
 
     if( stream_Control( s, STREAM_GET_SEEKPOINT, &seekpoint ) == VLC_SUCCESS
      && seekpoint != (unsigned)demux->info.i_seekpoint )
     {
         demux->info.i_seekpoint = seekpoint;
-        demux->info.i_update = INPUT_UPDATE_SEEKPOINT;
+        demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
     }
 }