Commit 7f1b136b authored by Adrien Maglo's avatar Adrien Maglo

Vout: put the lock declarations in a header file

parent 3bf343d9
......@@ -36,6 +36,7 @@
#include "libvlcjni.h"
#include "aout.h"
#include "vout.h"
#include "utils.h"
#define VOUT_ANDROID_SURFACE 0
......@@ -101,10 +102,6 @@ JavaVM *myVm;
static jobject eventHandlerInstance = NULL;
/** vout lock declared in vout.c */
extern pthread_mutex_t vout_android_lock;
extern pthread_cond_t vout_android_surf_attached;
static void vlc_event_callback(const libvlc_event_t *ev, void *data)
{
JNIEnv *env;
......
/*****************************************************************************
* vout.h
*****************************************************************************
* Copyright © 2011-2013 VLC authors and VideoLAN
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef LIBVLCJNI_VOUT_H
#define LIBVLCJNI_VOUT_H
/* vout lock initialized in vout.c */
pthread_mutex_t vout_android_lock;
pthread_cond_t vout_android_surf_attached;
#endif // LIBVLCJNI_VOUT_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment