Patch by Hugo Camboulive <hugo.camboulive@zodiacaerospace.com>.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@71831
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Cedric Bail <cedric.bail@free.fr>
Rafael Antognolli <antognolli@profusion.mobi>
Jérôme Pinot <ngc891@gmail.com>
+Pierre Le Magourou <pierre.lemagourou@openwide.fr>
+Hugo Camboulive <hugo.camboulive@zodiacaerospace.com>
2012-06-08 Pierre Le Magourou
* Add support for "playback_started" callback to generic player.
+
+2012-06-08 Hugo Camboulive
+
+ * Implement SPU switch for generic/vlc.
Additions:
- Add support for "playback_started" callback to generic player.
+ - Implement SPU switch for generic/vlc.
Fixes:
- build out of tree.
}
static void
+_spu_track_set(struct _App *app)
+{
+ int track;
+
+ _em_read_safe(app->em_read, &track, sizeof(track));
+
+ libvlc_video_set_spu(app->mp, track);
+}
+
+static void
_audio_track_set(struct _App *app)
{
int track;
case EM_CMD_VOLUME_SET:
_volume_set(app);
break;
+ case EM_CMD_SPU_TRACK_SET:
+ _spu_track_set(app);
+ break;
case EM_CMD_AUDIO_TRACK_SET:
_audio_track_set(app);
break;