[FFmpeg-devel] [PATCH 2/2] lavd/pulse_audio_enc: allow non monotonic streams

Michael Niedermayer michaelni at gmx.at
Thu Jan 2 22:26:00 CET 2014


On Tue, Dec 31, 2013 at 10:24:34PM +0100, Lukasz Marek wrote:
> Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
> ---
>  libavdevice/pulse_audio_enc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavdevice/pulse_audio_enc.c b/libavdevice/pulse_audio_enc.c
> index e047299..1a416b5 100644
> --- a/libavdevice/pulse_audio_enc.c
> +++ b/libavdevice/pulse_audio_enc.c
> @@ -179,6 +179,6 @@ AVOutputFormat ff_pulse_muxer = {
>      .write_packet   = pulse_write_packet,
>      .write_trailer  = pulse_write_trailer,
>      .get_output_timestamp = pulse_get_output_timestamp,
> -    .flags          = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH,
> +    .flags          = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH | AVFMT_TS_ANY,
>      .priv_class     = &pulse_muxer_class,

this looks wrong

the device would need a time machine to change the past sound that
was potentially already played

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140102/3466606b/attachment.asc>


More information about the ffmpeg-devel mailing list