[vlc-devel] [PATCH] mkv: fix broken playback of V_VP9 in webm/mkv

Denis Charmet typx at dinauz.org
Tue May 17 10:26:33 CEST 2016


Hi,

On 2016-05-13 19:23, Filip Roséen wrote:
> close #16936
> ---
>  modules/demux/mkv/matroska_segment_parse.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/modules/demux/mkv/matroska_segment_parse.cpp
> b/modules/demux/mkv/matroska_segment_parse.cpp
> index 413bd16..5ad4db1 100644
> --- a/modules/demux/mkv/matroska_segment_parse.cpp
> +++ b/modules/demux/mkv/matroska_segment_parse.cpp
> @@ -1321,7 +1321,6 @@ int32_t matroska_segment_c::TrackInit(
> mkv_track_t * p_tk )
>          }
>          S_CASE("V_VP9") {
>              vars.p_fmt->i_codec = VLC_CODEC_VP9;
> -            vars.p_fmt->b_packetized = false;

If you do that you will break the decoding by ffmpeg's lavc since it 
expects frame already packetized by avparser.

>              vars.p_tk->b_pts_only = true;
> 
>              fill_extra_data( vars.p_tk, 0 );

Regards,
-- 
Denis Charmet - TypX
Le mauvais esprit est un art de vivre


More information about the vlc-devel mailing list