p_peek += 72; /* skip rest of DIF block */
- /* Set p_input field */
- p_demux->pf_demux = Demux;
- p_demux->pf_control = Control;
p_demux->p_sys = p_sys = malloc( sizeof( demux_sys_t ) );
if( !p_sys )
return VLC_ENOMEM;
p_sys->fmt_video.video.i_width = 720;
p_sys->fmt_video.video.i_height= dv_header.dsf ? 576 : 480;;
- /* FIXME FIXME */
-#if 0
- /* necessary because input_SplitBuffer() will only get
- * INPUT_DEFAULT_BUFSIZE bytes at a time. */
- p_input->i_bufsize = p_sys->frame_size;
-#endif
-
p_sys->p_es_video = es_out_Add( p_demux->out, &p_sys->fmt_video );
/* Audio stuff */
p_sys->p_es_audio = es_out_Add( p_demux->out, &p_sys->fmt_audio );
}
+ p_demux->pf_demux = Demux;
+ p_demux->pf_control = Control;
return VLC_SUCCESS;
}