comparison libmpdemux/muxer_lavf.c @ 34536:e289f1cae2f1

Use "seekable" instead of is_streamed.
author reimar
date Sat, 28 Jan 2012 12:40:36 +0000
parents 8f919281f8ca
children cf72993a2a33
comparison
equal deleted inserted replaced
34535:8f919281f8ca 34536:e289f1cae2f1
376 } 376 }
377 } 377 }
378 378
379 priv->oc->pb = avio_alloc_context(priv->buffer, BIO_BUFFER_SIZE, 1, muxer, NULL, mp_write, mp_seek); 379 priv->oc->pb = avio_alloc_context(priv->buffer, BIO_BUFFER_SIZE, 1, muxer, NULL, mp_write, mp_seek);
380 if ((muxer->stream->flags & MP_STREAM_SEEK) != MP_STREAM_SEEK) 380 if ((muxer->stream->flags & MP_STREAM_SEEK) != MP_STREAM_SEEK)
381 priv->oc->pb->is_streamed = 1; 381 priv->oc->pb->seekable = 0;
382 382
383 muxer->priv = (void *) priv; 383 muxer->priv = (void *) priv;
384 muxer->cont_new_stream = &lavf_new_stream; 384 muxer->cont_new_stream = &lavf_new_stream;
385 muxer->cont_write_chunk = &write_chunk; 385 muxer->cont_write_chunk = &write_chunk;
386 muxer->cont_write_header = &write_header; 386 muxer->cont_write_header = &write_header;