diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-08-03 16:08:14 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-08-03 16:08:14 +0200 |
commit | 197005d3ea4fba15e57b05972def2655e541e4f6 (patch) | |
tree | e06942edcce3357fa752ed2a325331c34708263b /android | |
parent | d2061a3513140ce04b7b6d57e5296aa4b680bf3d (diff) |
Move dispatch-to-main-context out of the constructor and make it a normal property
Diffstat (limited to 'android')
-rw-r--r-- | android/jni/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/jni/player.c b/android/jni/player.c index e0e2d22..bdf8e31 100644 --- a/android/jni/player.c +++ b/android/jni/player.c @@ -193,7 +193,7 @@ native_new (JNIEnv * env, jobject thiz) { Player *player = g_slice_new0 (Player); - player->player = gst_player_new (FALSE); + player->player = gst_player_new (); SET_CUSTOM_DATA (env, thiz, native_player_field_id, player); player->java_player = (*env)->NewGlobalRef (env, thiz); |