]> git.sesse.net Git - vlc/blobdiff - modules/video_output/glide.c
Destroy snapshot-id from the right object...
[vlc] / modules / video_output / glide.c
index 390b7b753cb817344fd3925e82419472048781ea..42f4b18bbf4f4b81bae2016e5e60b251add0969f 100644 (file)
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -29,8 +29,8 @@
 #include <string.h>
 
 #include <vlc/vlc.h>
-#include <vlc/intf.h>
-#include <vlc/vout.h>
+#include <vlc_interface.h>
+#include <vlc_vout.h>
 
 #ifndef __linux__
 #   include <conio.h>                                         /* for glide ? */
@@ -207,7 +207,7 @@ static int Manage( vout_thread_t *p_vout )
         switch( (char)buf )
         {
         case 'q':
-            p_vout->p_vlc->b_die = 1;
+            vlc_object_kill( p_vout->p_libvlc );
             break;
 
         default: