]> git.sesse.net Git - vlc/blobdiff - modules/codec/vorbis.c
Qt4 - Preferences, improve a bit the Hotkeys. Preparatory work to merge the Hotkeys...
[vlc] / modules / codec / vorbis.c
index acc74d0faac547c838122b87de76b51323784293..79a75e3e3fbf6054595a5176112ce12b2f7bb7c2 100644 (file)
@@ -31,6 +31,7 @@
 #include <vlc_codec.h>
 #include <vlc_aout.h>
 #include <vlc_input.h>
+#include <vlc_playlist.h>
 #include <vlc_sout.h>
 
 #include <ogg/ogg.h>
@@ -725,8 +726,7 @@ static void ParseVorbisComments( decoder_t *p_dec )
                 r->pf_peak[AUDIO_REPLAY_GAIN_ALBUM] = atof( psz_value );
             }
         }
-        /* FIXME */
-        var_SetInteger( p_input, "item-change", p_item->i_id );
+        var_SetInteger( pl_Get( p_input ), "item-change", p_item->i_id );
         free( psz_comment );
         i++;
     }