Commit c14b0b5e authored by Ilkka Ollakka's avatar Ilkka Ollakka

avformat: if we use dummy access, let avformat write to dst itself, usable for...

avformat: if we use dummy access, let avformat write to dst itself, usable for example smootstreaming output
parent 8eac8667
......@@ -133,6 +133,9 @@ int OpenMux( vlc_object_t *p_this )
p_sys->oc = avformat_alloc_context();
p_sys->oc->oformat = file_oformat;
/* If we use dummy access, let avformat write output */
if( !strcmp( p_mux->p_access->psz_access, "dummy") )
strcpy( p_sys->oc->filename, p_mux->p_access->psz_path );
/* Create I/O wrapper */
p_sys->io_buffer_size = 32768; /* FIXME */
......
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