[vlc-devel] [PATCH 1/3] mpeg_audio: mark output blocks as keyframes
Jean-Baptiste Kempf
jb at videolan.org
Mon Aug 8 19:36:46 CEST 2016
Audio, as keyframes?
Is that really correct?
On 08 Aug, Steve Lhomme wrote :
> ---
> modules/codec/mpeg_audio.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/modules/codec/mpeg_audio.c b/modules/codec/mpeg_audio.c
> index 9cb4f4f..50c73ea 100644
> --- a/modules/codec/mpeg_audio.c
> +++ b/modules/codec/mpeg_audio.c
> @@ -465,6 +465,8 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
> //p_dec->b_error = true;
> return NULL;
> }
> + if (p_out_buffer)
> + p_out_buffer->i_flags |= BLOCK_FLAG_TYPE_I;
>
> /* Free bitrate only */
> if( p_sys->i_bit_rate == 0 )
> --
> 2.8.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list