]> git.sesse.net Git - vlc/commitdiff
Stop playback if --no-playlist-autostart (Closes:#718)
authorClément Stenac <zorglub@videolan.org>
Sat, 7 Oct 2006 19:37:45 +0000 (19:37 +0000)
committerClément Stenac <zorglub@videolan.org>
Sat, 7 Oct 2006 19:37:45 +0000 (19:37 +0000)
modules/demux/playlist/playlist.c

index 9cff0264da4946f85333c55cd6510d42ba2b9046..f2acf2ddc418930f1d743046aca41ddce0558ac5 100644 (file)
@@ -212,6 +212,7 @@ vlc_bool_t E_(FindItem)( demux_t *p_demux, playlist_t *p_playlist,
              msg_Dbg( p_playlist, "unable to find item in playlist");
          }
          msg_Dbg( p_playlist, "not starting playlist playback");
+         p_playlist->status.i_status = PLAYLIST_STOPPED;
          b_play = VLC_FALSE;
      }
      return b_play;