[vlc-commits] packetizer: h264: fix default frame rate

Francois Cartegnie git at videolan.org
Thu Jun 22 15:07:59 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 22 15:05:09 2017 +0200| [2ed379eb14809c270a51c7d19bb8b258691f2a7d] | committer: Francois Cartegnie

packetizer: h264: fix default frame rate

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ed379eb14809c270a51c7d19bb8b258691f2a7d
---

 modules/packetizer/h264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index 49b5609afd..45287e88ef 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -344,7 +344,7 @@ static int Open( vlc_object_t *p_this )
     h264_poc_context_init( &p_sys->pocctx );
     p_sys->prevdatedpoc.pts = VLC_TS_INVALID;
 
-    date_Init( &p_sys->dts, 1, 1 );
+    date_Init( &p_sys->dts, 30000 * 2, 1001 );
     date_Set( &p_sys->dts, VLC_TS_INVALID );
 
     /* Setup properties */



More information about the vlc-commits mailing list