Commit 27048ded authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Build SMF demux

parent e6a119ae
...@@ -1212,7 +1212,7 @@ VLC_ADD_PLUGINS([trivial_channel_mixer trivial_mixer]) ...@@ -1212,7 +1212,7 @@ VLC_ADD_PLUGINS([trivial_channel_mixer trivial_mixer])
VLC_ADD_PLUGINS([spatializer]) VLC_ADD_PLUGINS([spatializer])
VLC_ADD_PLUGINS([playlist export nsc xtag]) VLC_ADD_PLUGINS([playlist export nsc xtag])
VLC_ADD_PLUGINS([i420_rgb grey_yuv rawvideo blend scale image logo magnify puzzle colorthres]) VLC_ADD_PLUGINS([i420_rgb grey_yuv rawvideo blend scale image logo magnify puzzle colorthres])
VLC_ADD_PLUGINS([wav araw subtitle vobsub adpcm a52sys dtssys au ty voc xa nuv]) VLC_ADD_PLUGINS([wav araw subtitle vobsub adpcm a52sys dtssys au ty voc xa nuv smf])
VLC_ADD_PLUGINS([access_directory access_file access_udp access_tcp]) VLC_ADD_PLUGINS([access_directory access_file access_udp access_tcp])
VLC_ADD_PLUGINS([access_http access_mms access_ftp]) VLC_ADD_PLUGINS([access_http access_mms access_ftp])
VLC_ADD_PLUGINS([access_filter_bandwidth]) VLC_ADD_PLUGINS([access_filter_bandwidth])
......
...@@ -138,6 +138,7 @@ static int Open (vlc_object_t * p_this) ...@@ -138,6 +138,7 @@ static int Open (vlc_object_t * p_this)
/* SMF expresses tempo in Beats-Per-Minute, default is 120 */ /* SMF expresses tempo in Beats-Per-Minute, default is 120 */
date_Init (&p_sys->pts, ppqn * 120, 60); date_Init (&p_sys->pts, ppqn * 120, 60);
date_Set (&p_sys->pts, 1);
p_sys->pulse = 0; p_sys->pulse = 0;
p_sys->ppqn = ppqn; p_sys->ppqn = ppqn;
......
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