[vlc-commits] demux: ogg: add pre dts interpolation for video es
Francois Cartegnie
git at videolan.org
Tue Jun 5 12:28:52 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jun 5 12:13:52 2018 +0200| [91df66f10abdb0510c7ce32e6264952d49e7437c] | committer: Francois Cartegnie
demux: ogg: add pre dts interpolation for video es
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91df66f10abdb0510c7ce32e6264952d49e7437c
---
modules/demux/ogg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index abd23ad9ff..63dfd0fc9e 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1021,6 +1021,8 @@ static mtime_t Ogg_FixupOutputQueue( demux_t *p_demux, logical_stream_t *p_strea
}
#endif
default:
+ if( p_stream->fmt.i_cat == VIDEO_ES )
+ p_block->i_nb_samples = 1;
break;
}
i_total_samples += p_block->i_nb_samples;
More information about the vlc-commits
mailing list