[vlc-commits] packetizer: mpegvideo: set sane rate defaults
Francois Cartegnie
git at videolan.org
Wed Jul 19 11:31:11 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul 19 11:05:16 2017 +0200| [24907bc4e29fa96972fedad3c4dc301a56d55368] | committer: Francois Cartegnie
packetizer: mpegvideo: set sane rate defaults
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24907bc4e29fa96972fedad3c4dc301a56d55368
---
modules/packetizer/mpegvideo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/mpegvideo.c b/modules/packetizer/mpegvideo.c
index 42a8ebbabb..8e5a0a65c6 100644
--- a/modules/packetizer/mpegvideo.c
+++ b/modules/packetizer/mpegvideo.c
@@ -191,9 +191,9 @@ static int Open( vlc_object_t *p_this )
p_sys->i_dts =
p_sys->i_pts = VLC_TS_INVALID;
- date_Init( &p_sys->dts, 1, 1 );
+ date_Init( &p_sys->dts, 30000, 1001 );
date_Set( &p_sys->dts, VLC_TS_INVALID );
- date_Init( &p_sys->prev_iframe_dts, 1, 1 );
+ date_Init( &p_sys->prev_iframe_dts, 30000, 1001 );
date_Set( &p_sys->prev_iframe_dts, VLC_TS_INVALID );
p_sys->i_frame_rate = 2 * 30000;
More information about the vlc-commits
mailing list