summaryrefslogtreecommitdiff
path: root/src/modules/emotion/generic
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-28 11:28:51 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-28 11:28:51 +0900
commitd16f0ceaf6454e6cf9b7f6c10cd4ba5ffebbf808 (patch)
tree4f83c7128c46f8faed2c82beff20af0f644dcc67 /src/modules/emotion/generic
parent43725e960a3ab80d35506b1412f98da111b33922 (diff)
emotion - generic - set play after setting mutes and play speed etc.
Diffstat (limited to 'src/modules/emotion/generic')
-rw-r--r--src/modules/emotion/generic/emotion_generic.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/emotion/generic/emotion_generic.c b/src/modules/emotion/generic/emotion_generic.c
index 4a5a6409c4..9d87f84fcf 100644
--- a/src/modules/emotion/generic/emotion_generic.c
+++ b/src/modules/emotion/generic/emotion_generic.c
@@ -488,12 +488,6 @@ _player_open_done(Emotion_Generic_Video *ev)
488 488
489 _emotion_open_done(ev->obj); 489 _emotion_open_done(ev->obj);
490 490
491 if (ev->play)
492 {
493 _player_send_cmd(ev, EM_CMD_PLAY);
494 _player_send_float(ev, ev->pos);
495 }
496
497 _player_send_cmd(ev, EM_CMD_VOLUME_SET); 491 _player_send_cmd(ev, EM_CMD_VOLUME_SET);
498 _player_send_float(ev, ev->volume); 492 _player_send_float(ev, ev->volume);
499 493
@@ -512,6 +506,12 @@ _player_open_done(Emotion_Generic_Video *ev)
512 _player_send_cmd(ev, EM_CMD_SPU_MUTE_SET); 506 _player_send_cmd(ev, EM_CMD_SPU_MUTE_SET);
513 _player_send_int(ev, mute); 507 _player_send_int(ev, mute);
514 508
509 if (ev->play)
510 {
511 _player_send_cmd(ev, EM_CMD_PLAY);
512 _player_send_float(ev, ev->pos);
513 }
514
515 INF("Open done"); 515 INF("Open done");
516} 516}
517 517
@@ -968,7 +968,7 @@ em_add(const Emotion_Engine *api, Evas_Object *obj, const Emotion_Module_Options
968 ev->fd_read = NULL; 968 ev->fd_read = NULL;
969 ev->fd_write = NULL; 969 ev->fd_write = NULL;
970 ev->speed = 1.0; 970 ev->speed = 1.0;
971 ev->volume = 0.5; 971 ev->volume = 1.0;
972 ev->audio_mute = EINA_FALSE; 972 ev->audio_mute = EINA_FALSE;
973 ev->cmd.type = -1; 973 ev->cmd.type = -1;
974 974